From: Stephan Beyer Date: Tue, 7 Jul 2020 07:40:33 +0000 (+0200) Subject: Remove redundant initialization of ElidedLabel::_elideMode X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~222^2^2~97 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1e6747cd1dd9eca9e0403edf8b4db584ccc0f982;p=nextcloud-desktop.git 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 --- 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) { }