aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoingui.cpp
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2013-07-23 08:52:24 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2013-07-23 08:52:24 +0200
commit84ef729aa1de762229c8a5c800cddff1a014fcca (patch)
treeba4aeda20db80a0f3b476516b70d7cc4337129cb /src/qt/bitcoingui.cpp
parent0a740650a52a21b7d82b43524017c87643af3224 (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/bitcoingui.cpp')
-rw-r--r--src/qt/bitcoingui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp
index 190da6caf8..11767cf312 100644
--- a/src/qt/bitcoingui.cpp
+++ b/src/qt/bitcoingui.cpp
@@ -5,8 +5,6 @@
* The Bitcoin Developers 2011-2012
*/
-#include <QApplication>
-
#include "bitcoingui.h"
#include "transactiontablemodel.h"
@@ -30,6 +28,8 @@
#include "macdockiconhandler.h"
#endif
+#undef loop /* Todo: ugh, remove this when the #define loop is gone from util.h */
+#include <QApplication>
#include <QMenuBar>
#include <QMenu>
#include <QIcon>