diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2013-07-31 14:06:44 +1000 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2013-07-31 14:06:44 +1000 |
commit | 050d2e953f23db6d818b9cec6b7dc0e52aa7537c (patch) | |
tree | 2647f444088b18845088a5fac3a6fdabe656eeba /src/qt | |
parent | c4316fefa5f56d62eeceb710ee18313bd9be1128 (diff) |
Remove #define loop from util.h
Replace the loop macro with while (true). The #define caused
problems for Qt.
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/bitcoin.cpp | 1 | ||||
-rw-r--r-- | src/qt/bitcoingui.cpp | 1 | ||||
-rw-r--r-- | src/qt/guiutil.cpp | 1 | ||||
-rw-r--r-- | src/qt/paymentserver.cpp | 1 | ||||
-rw-r--r-- | src/qt/splashscreen.cpp | 1 |
5 files changed, 0 insertions, 5 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index 4e9180b88c..3b98334696 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -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 diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index 11767cf312..4ed734b9c9 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -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> diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp index 521d9bddd8..0ea5060e76 100644 --- a/src/qt/guiutil.cpp +++ b/src/qt/guiutil.cpp @@ -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> diff --git a/src/qt/paymentserver.cpp b/src/qt/paymentserver.cpp index 8178065bcc..0d31f24a13 100644 --- a/src/qt/paymentserver.cpp +++ b/src/qt/paymentserver.cpp @@ -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> diff --git a/src/qt/splashscreen.cpp b/src/qt/splashscreen.cpp index 43430a858e..22cf04486b 100644 --- a/src/qt/splashscreen.cpp +++ b/src/qt/splashscreen.cpp @@ -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> |