diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-05-11 02:43:18 -0700 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-05-11 02:43:18 -0700 |
commit | 5e7c4f3be8bf3d608c4649d7383a174840cb86c7 (patch) | |
tree | aa89f492782447949bb6dc2f29285fd64d8d0d87 /src/qt | |
parent | 508471bbc0b43a8d5cabeae5c429f8416b9a1e99 (diff) | |
parent | 58b01afc5092cb56e1a5d2b6c8f96dade8ed6c02 (diff) |
Merge pull request #1257 from Diapolo/fix_guiutil_warn
guiutil.cpp/.h: fix a -Wreorder compiler warning...
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/guiutil.cpp | 4 | ||||
-rw-r--r-- | src/qt/guiutil.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp index 9a7d42fa08..fab97f91c4 100644 --- a/src/qt/guiutil.cpp +++ b/src/qt/guiutil.cpp @@ -243,8 +243,8 @@ void openDebugLogfile() #endif } -ToolTipToRichTextFilter::ToolTipToRichTextFilter(int size_threshold, QObject *parent): - size_threshold(size_threshold), QObject(parent) +ToolTipToRichTextFilter::ToolTipToRichTextFilter(int size_threshold, QObject *parent) : + QObject(parent), size_threshold(size_threshold) { } diff --git a/src/qt/guiutil.h b/src/qt/guiutil.h index 92d0f9ee43..8d1a01e07e 100644 --- a/src/qt/guiutil.h +++ b/src/qt/guiutil.h @@ -77,11 +77,11 @@ namespace GUIUtil representation if needed. This assures that Qt can word-wrap long tooltip messages. Tooltips longer than the provided size threshold (in characters) are wrapped. */ - class ToolTipToRichTextFilter: public QObject + class ToolTipToRichTextFilter : public QObject { Q_OBJECT public: - ToolTipToRichTextFilter(int size_threshold, QObject *parent); + explicit ToolTipToRichTextFilter(int size_threshold, QObject *parent = 0); protected: bool eventFilter(QObject *obj, QEvent *evt); |