Remove #define loop from util.h
Replace the loop macro with while (true). The #define caused problems for Qt.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user