summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qglobal.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-10-08 16:03:27 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-10-08 16:03:27 (GMT)
commite5bcddb6fecc1fb55f18f734601a3e928dc7510a (patch)
tree4c6fd15be926b48ca7e962c51024a1bea9bae649 /src/corelib/global/qglobal.h
parent468bd5ac176c42af310d439810bbd3bb561f5a1b (diff)
parent3945fd75a93d790434b33c2d23add155893a82a4 (diff)
downloadQt-e5bcddb6fecc1fb55f18f734601a3e928dc7510a.zip
Qt-e5bcddb6fecc1fb55f18f734601a3e928dc7510a.tar.gz
Qt-e5bcddb6fecc1fb55f18f734601a3e928dc7510a.tar.bz2
Merge branch '4.6'
Conflicts: tools/assistant/translations/translations_adp.pro
Diffstat (limited to 'src/corelib/global/qglobal.h')
-rw-r--r--src/corelib/global/qglobal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h
index 5cac107..b11cfb4 100644
--- a/src/corelib/global/qglobal.h
+++ b/src/corelib/global/qglobal.h
@@ -1615,11 +1615,11 @@ Q_CORE_EXPORT_INLINE QDebug qCritical();
inline QNoDebug qDebug();
#endif
-#define QT_NO_QDEBUG_MACRO if(1) {} else qDebug
+#define QT_NO_QDEBUG_MACRO while (false) qDebug
#ifdef QT_NO_DEBUG_OUTPUT
# define qDebug QT_NO_QDEBUG_MACRO
#endif
-#define QT_NO_QWARNING_MACRO if(1) {} else qWarning
+#define QT_NO_QWARNING_MACRO while (false) qWarning
#ifdef QT_NO_WARNING_OUTPUT
# define qWarning QT_NO_QWARNING_MACRO
#endif