Merge pull request #1257 from Diapolo/fix_guiutil_warn

guiutil.cpp/.h: fix a -Wreorder compiler warning...
This commit is contained in:
Wladimir J. van der Laan 2012-05-11 02:43:18 -07:00
commit 5e7c4f3be8
2 changed files with 4 additions and 4 deletions

View file

@ -244,7 +244,7 @@ void openDebugLogfile()
} }
ToolTipToRichTextFilter::ToolTipToRichTextFilter(int size_threshold, QObject *parent) : ToolTipToRichTextFilter::ToolTipToRichTextFilter(int size_threshold, QObject *parent) :
size_threshold(size_threshold), QObject(parent) QObject(parent), size_threshold(size_threshold)
{ {
} }

View file

@ -81,7 +81,7 @@ namespace GUIUtil
{ {
Q_OBJECT Q_OBJECT
public: public:
ToolTipToRichTextFilter(int size_threshold, QObject *parent); explicit ToolTipToRichTextFilter(int size_threshold, QObject *parent = 0);
protected: protected:
bool eventFilter(QObject *obj, QEvent *evt); bool eventFilter(QObject *obj, QEvent *evt);