diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2011-11-10 13:07:57 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-11 04:28:03 +0100 |
commit | a28817fd78540b312b0075ad45d227819175df93 (patch) | |
tree | 0e72f100b599c4b2902914a999c64d7354cbabd6 /tests/auto/corelib | |
parent | 94fc8750797ffd3ef867d0cdc7849492cfee2c23 (diff) |
Use qWarning() to output warnings.
Change-Id: I366f70f27de0329749e5dcbdcbec8d56bffb4255
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/corelib')
-rw-r--r-- | tests/auto/corelib/codecs/qtextcodec/tst_qtextcodec.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/corelib/codecs/qtextcodec/tst_qtextcodec.cpp b/tests/auto/corelib/codecs/qtextcodec/tst_qtextcodec.cpp index cbeca963d3..db3cc6c766 100644 --- a/tests/auto/corelib/codecs/qtextcodec/tst_qtextcodec.cpp +++ b/tests/auto/corelib/codecs/qtextcodec/tst_qtextcodec.cpp @@ -1946,7 +1946,7 @@ static QByteArray loadAndConvert(const QByteArray &codecName) { QTextCodec *c = QTextCodec::codecForName(codecName); if (!c) { - qDebug() << "WARNING " << codecName << " not found? "; + qWarning() << "WARNING" << codecName << "not found?"; return QByteArray(); } QString str = QString::fromLatin1(codecName); @@ -1959,7 +1959,7 @@ static int loadAndConvertMIB(int mib) { QTextCodec *c = QTextCodec::codecForMib(mib); if (!c) { - qDebug() << "WARNING " << mib << " not found? "; + qWarning() << "WARNING" << mib << "not found?"; return 0; } QString str = QString::number(mib); |