projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
293be2c
)
Remove redundant initialization of ElidedLabel::_elideMode
author
Stephan Beyer
<s-beyer@gmx.net>
Tue, 7 Jul 2020 07:40:33 +0000
(09:40 +0200)
committer
Kevin Ottens
<ervin@ipsquad.net>
Wed, 8 Jul 2020 12:08:41 +0000
(14:08 +0200)
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>
src/gui/elidedlabel.cpp
patch
|
blob
|
history
diff --git
a/src/gui/elidedlabel.cpp
b/src/gui/elidedlabel.cpp
index 6b3740663dc2004929fe15f2f0e8592974847911..8311076ec342561f551e219ebbb7c424468a58ea 100644
(file)
--- 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)
{
}