diff --git a/src/config.cpp b/src/config.cpp index 91f6c4a..8ec62d5 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -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(); diff --git a/src/debuglogger.cpp b/src/debuglogger.cpp index 850c2f4..73394b5 100644 --- a/src/debuglogger.cpp +++ b/src/debuglogger.cpp @@ -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)