Skip to content

Commit 5e7c4f3

Browse files
committed
Merge pull request #1257 from Diapolo/fix_guiutil_warn
guiutil.cpp/.h: fix a -Wreorder compiler warning...
2 parents 508471b + 58b01af commit 5e7c4f3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/qt/guiutil.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,8 @@ void openDebugLogfile()
243243
#endif
244244
}
245245

246-
ToolTipToRichTextFilter::ToolTipToRichTextFilter(int size_threshold, QObject *parent):
247-
size_threshold(size_threshold), QObject(parent)
246+
ToolTipToRichTextFilter::ToolTipToRichTextFilter(int size_threshold, QObject *parent) :
247+
QObject(parent), size_threshold(size_threshold)
248248
{
249249

250250
}

src/qt/guiutil.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ namespace GUIUtil
7777
representation if needed. This assures that Qt can word-wrap long tooltip messages.
7878
Tooltips longer than the provided size threshold (in characters) are wrapped.
7979
*/
80-
class ToolTipToRichTextFilter: public QObject
80+
class ToolTipToRichTextFilter : public QObject
8181
{
8282
Q_OBJECT
8383
public:
84-
ToolTipToRichTextFilter(int size_threshold, QObject *parent);
84+
explicit ToolTipToRichTextFilter(int size_threshold, QObject *parent = 0);
8585

8686
protected:
8787
bool eventFilter(QObject *obj, QEvent *evt);

0 commit comments

Comments
 (0)