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 <s-beyer@gmx.net>
This commit is contained in:
Stephan Beyer 2020-07-07 09:40:33 +02:00 committed by Kevin Ottens
parent 293be2c2e6
commit 1e6747cd1d

View file

@ -26,7 +26,6 @@ ElidedLabel::ElidedLabel(QWidget *parent)
ElidedLabel::ElidedLabel(const QString &text, QWidget *parent)
: QLabel(text, parent)
, _text(text)
, _elideMode(Qt::ElideNone)
{
}