Browse Source

Merge pull request #1257 from Diapolo/fix_guiutil_warn

guiutil.cpp/.h: fix a -Wreorder compiler warning...
0.8
Wladimir J. van der Laan 13 years ago
parent
commit
5e7c4f3be8
  1. 2
      src/qt/guiutil.cpp
  2. 2
      src/qt/guiutil.h

2
src/qt/guiutil.cpp

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

2
src/qt/guiutil.h

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

Loading…
Cancel
Save