summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qglobal.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-10-05 11:04:24 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-10-05 11:04:24 (GMT)
commit4d33c51bf00be826b8036f58cd9aea0c1f44f8ce (patch)
tree99339183e160058b996580157d8ed89bd6809562 /src/corelib/global/qglobal.h
parentbadcaa75b4a5e5dfbb85f5abf856abcfcfa20533 (diff)
parentb0e6c5ca48c76fb17dca986e9e07adebde390e29 (diff)
downloadQt-4d33c51bf00be826b8036f58cd9aea0c1f44f8ce.zip
Qt-4d33c51bf00be826b8036f58cd9aea0c1f44f8ce.tar.gz
Qt-4d33c51bf00be826b8036f58cd9aea0c1f44f8ce.tar.bz2
Merge branch '4.6'
Conflicts: src/corelib/io/qdatastream.h tools/assistant/translations/translations_adp.pro tools/qdoc3/test/qt-build-docs.qdocconf tools/qdoc3/test/qt-inc.qdocconf tools/qdoc3/test/qt.qdocconf translations/assistant_adp_de.ts
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 8a59aec..4783eb6 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 if(1) {} else 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 if(1) {} else qWarning
#ifdef QT_NO_WARNING_OUTPUT
# define qWarning QT_NO_QWARNING_MACRO
#endif