aboutsummaryrefslogtreecommitdiff
path: root/src/qt/guiutil.h
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2012-05-11 11:32:04 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2012-05-11 11:32:04 +0200
commit58b01afc5092cb56e1a5d2b6c8f96dade8ed6c02 (patch)
treeaa89f492782447949bb6dc2f29285fd64d8d0d87 /src/qt/guiutil.h
parent508471bbc0b43a8d5cabeae5c429f8416b9a1e99 (diff)
downloadbitcoin-58b01afc5092cb56e1a5d2b6c8f96dade8ed6c02.tar.xz
guiutil.cpp/.h: fix a -Wreorder compiler warning and make constructor for ToolTipToRichTextFilter explicit
Diffstat (limited to 'src/qt/guiutil.h')
-rw-r--r--src/qt/guiutil.h4
1 files changed, 2 insertions, 2 deletions
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);