Replace Qt functions deprecated in 5.0
This commit is contained in:
parent
8b96174457
commit
69637c75af
|
@ -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();
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue