summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/codecs
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-11-10 13:07:57 +1000
committerQt by Nokia <qt-info@nokia.com>2011-11-11 04:28:03 +0100
commita28817fd78540b312b0075ad45d227819175df93 (patch)
tree0e72f100b599c4b2902914a999c64d7354cbabd6 /tests/auto/corelib/codecs
parent94fc8750797ffd3ef867d0cdc7849492cfee2c23 (diff)
Use qWarning() to output warnings.
Change-Id: I366f70f27de0329749e5dcbdcbec8d56bffb4255 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/corelib/codecs')
-rw-r--r--tests/auto/corelib/codecs/qtextcodec/tst_qtextcodec.cpp4
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);