mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-18 16:42:54 +01:00
guiutil.cpp/.h: fix a -Wreorder compiler warning and make constructor for ToolTipToRichTextFilter explicit
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user