Use qWarning() to output warnings.

Change-Id: I366f70f27de0329749e5dcbdcbec8d56bffb4255
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
Jason McDonald 2011-11-10 13:07:57 +10:00 committed by Qt by Nokia
parent 94fc875079
commit a28817fd78

View File

@ -1946,7 +1946,7 @@ static QByteArray loadAndConvert(const QByteArray &codecName)
{ {
QTextCodec *c = QTextCodec::codecForName(codecName); QTextCodec *c = QTextCodec::codecForName(codecName);
if (!c) { if (!c) {
qDebug() << "WARNING " << codecName << " not found? "; qWarning() << "WARNING" << codecName << "not found?";
return QByteArray(); return QByteArray();
} }
QString str = QString::fromLatin1(codecName); QString str = QString::fromLatin1(codecName);
@ -1959,7 +1959,7 @@ static int loadAndConvertMIB(int mib)
{ {
QTextCodec *c = QTextCodec::codecForMib(mib); QTextCodec *c = QTextCodec::codecForMib(mib);
if (!c) { if (!c) {
qDebug() << "WARNING " << mib << " not found? "; qWarning() << "WARNING" << mib << "not found?";
return 0; return 0;
} }
QString str = QString::number(mib); QString str = QString::number(mib);