Remove #define loop from util.h

Replace the loop macro with while (true). The #define caused
problems for Qt.
This commit is contained in:
Gavin Andresen
2013-07-31 14:06:44 +10:00
parent c4316fefa5
commit 050d2e953f
13 changed files with 17 additions and 23 deletions

View File

@@ -15,7 +15,6 @@
#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

View File

@@ -28,7 +28,6 @@
#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>

View File

@@ -7,7 +7,6 @@
#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>

View File

@@ -8,7 +8,6 @@
#include "ui_interface.h"
#include "util.h"
#undef loop /* Todo: ugh, remove this when the #define loop is gone from util.h */
#include <QApplication>
#include <QByteArray>
#include <QDataStream>

View File

@@ -2,7 +2,6 @@
#include "clientversion.h"
#include "util.h"
#undef loop /* Todo: ugh, remove this when the #define loop is gone from util.h */
#include <QApplication>
#include <QPainter>