guiutil.cpp/.h: fix a -Wreorder compiler warning and make constructor for ToolTipToRichTextFilter explicit

This commit is contained in:
Philip Kaufmann committed 2012-05-11 11:32:04 +02:00
1 parent 508471bbc0
commit 58b01afc50
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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)
{
}
+1 -1
View File
@@ -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);