From 1e6747cd1dd9eca9e0403edf8b4db584ccc0f982 Mon Sep 17 00:00:00 2001 From: Stephan Beyer Date: Tue, 7 Jul 2020 09:40:33 +0200 Subject: [PATCH] Remove redundant initialization of ElidedLabel::_elideMode The value gets already initialized by default member initialization, so there is no need to set it again in the constructor. Signed-off-by: Stephan Beyer --- src/gui/elidedlabel.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gui/elidedlabel.cpp b/src/gui/elidedlabel.cpp index 6b3740663..8311076ec 100644 --- a/src/gui/elidedlabel.cpp +++ b/src/gui/elidedlabel.cpp @@ -26,7 +26,6 @@ ElidedLabel::ElidedLabel(QWidget *parent) ElidedLabel::ElidedLabel(const QString &text, QWidget *parent) : QLabel(text, parent) , _text(text) - , _elideMode(Qt::ElideNone) { }