diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2013-07-23 08:52:24 +0200 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2013-07-23 08:52:24 +0200 |
commit | 84ef729aa1de762229c8a5c800cddff1a014fcca (patch) | |
tree | ba4aeda20db80a0f3b476516b70d7cc4337129cb /src/qt/guiutil.cpp | |
parent | 0a740650a52a21b7d82b43524017c87643af3224 (diff) |
Bitcoin-Qt: fix QApplication includes to match our include defaults
- move all QApplication includes to top of included Qt headers
- undef our loop macro where it would cause compilation errors otherwise
Diffstat (limited to 'src/qt/guiutil.cpp')
-rw-r--r-- | src/qt/guiutil.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp index 3d1e91efdc..521d9bddd8 100644 --- a/src/qt/guiutil.cpp +++ b/src/qt/guiutil.cpp @@ -1,5 +1,3 @@ -#include <QApplication> - #include "guiutil.h" #include "bitcoinaddressvalidator.h" @@ -9,6 +7,8 @@ #include "util.h" #include "init.h" +#undef loop /* Todo: ugh, remove this when the #define loop is gone from util.h */ +#include <QApplication> #include <QDateTime> #include <QDoubleValidator> #include <QFont> |