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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user