From a28817fd78540b312b0075ad45d227819175df93 Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Thu, 10 Nov 2011 13:07:57 +1000 Subject: Use qWarning() to output warnings. Change-Id: I366f70f27de0329749e5dcbdcbec8d56bffb4255 Reviewed-by: Rohan McGovern --- tests/auto/corelib/codecs/qtextcodec/tst_qtextcodec.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/auto/corelib/codecs/qtextcodec/tst_qtextcodec.cpp') 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); -- cgit v1.2.3