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

@@ -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>