projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modernize: Prefer default member init over ctor init
[quassel.git]
/
src
/
uisupport
/
styledlabel.h
diff --git
a/src/uisupport/styledlabel.h
b/src/uisupport/styledlabel.h
index
1a74608
..
9df5da4
100644
(file)
--- a/
src/uisupport/styledlabel.h
+++ b/
src/uisupport/styledlabel.h
@@
-73,12
+73,12
@@
protected:
private:
QSize _sizeHint;
private:
QSize _sizeHint;
- QTextOption::WrapMode _wrapMode;
+ QTextOption::WrapMode _wrapMode
{QTextOption::NoWrap}
;
Qt::Alignment _alignment;
QTextLayout _layout;
ClickableList _clickables;
Qt::Alignment _alignment;
QTextLayout _layout;
ClickableList _clickables;
- bool _toolTipEnabled;
- ResizeMode _resizeMode;
+ bool _toolTipEnabled
{true}
;
+ ResizeMode _resizeMode
{NoResize}
;
QList<QTextLayout::FormatRange> _layoutList;
QVector<QTextLayout::FormatRange> _extraLayoutList;
QList<QTextLayout::FormatRange> _layoutList;
QVector<QTextLayout::FormatRange> _extraLayoutList;