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
This commit is contained in:
Philip Kaufmann
2013-07-23 08:52:24 +02:00
parent 0a740650a5
commit 84ef729aa1
7 changed files with 13 additions and 12 deletions

View File

@@ -2,8 +2,6 @@
* W.J. van der Laan 2011-2012
*/
#include <QApplication>
#include "bitcoingui.h"
#include "clientmodel.h"
#include "walletmodel.h"
@@ -17,6 +15,8 @@
#include "splashscreen.h"
#include "intro.h"
#undef loop /* Todo: ugh, remove this when the #define loop is gone from util.h */
#include <QApplication>
#include <QMessageBox>
#if QT_VERSION < 0x050000
#include <QTextCodec>