Replace Qt functions deprecated in 5.0

This commit is contained in:
Jonas Kulla 2013-10-11 10:32:56 +02:00
parent 8b96174457
commit 69637c75af
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ void Config::read()
if (value.type() == QVariant::String)
value = value.toString().toUtf8();
bindingConf.insert(key.toAscii(), value);
bindingConf.insert(key.toLatin1(), value);
}
confFile.endGroup();

View File

@ -55,7 +55,7 @@ struct DebugLoggerPrivate
void writeTimestamp()
{
QTime time = QTime::currentTime();
*stream << "[" << time.toString().toAscii() << "] ";
*stream << "[" << time.toString().toLatin1() << "] ";
}
void writeLine(const char *line)