diff options
author | Kai Koehne <kai.koehne@qt.io> | 2019-03-13 21:47:27 +0100 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2019-03-14 17:15:53 +0000 |
commit | 097bf6fdd234ca7e5707610edfd3c804b3ba2a52 (patch) | |
tree | f12fa23865ccced59aa296bcb577c36e614f1ee2 /tests/auto/corelib/io/qnodebug/tst_qnodebug.cpp | |
parent | b8d5e0b4ce2f1daef35dad38f5048040ae915412 (diff) |
Fix compilation of qCDebug("", ...) with QT_NO_DEBUG_OUTPUT
... and fix QT_NO_INFO_OUTPUT, QT_NO_WARNING_OUTPUT alongside.
Fixes: QTBUG-74359
Change-Id: I2167dc943ae8c52602e08e24ca815d95f82a5db8
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib/io/qnodebug/tst_qnodebug.cpp')
-rw-r--r-- | tests/auto/corelib/io/qnodebug/tst_qnodebug.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/corelib/io/qnodebug/tst_qnodebug.cpp b/tests/auto/corelib/io/qnodebug/tst_qnodebug.cpp index 17c51eaaf4..569c610e24 100644 --- a/tests/auto/corelib/io/qnodebug/tst_qnodebug.cpp +++ b/tests/auto/corelib/io/qnodebug/tst_qnodebug.cpp @@ -53,6 +53,7 @@ void tst_QNoDebug::noDebugOutput() const // should do nothing qDebug() << "foo"; qCDebug(cat) << "foo"; + qCDebug(cat, "foo"); // qWarning still works, though QTest::ignoreMessage(QtWarningMsg, "bar"); |