Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 9fd6167a authored by Laurent Montel's avatar Laurent Montel 😁

Use QLatin1Char

parent 61c5c56d
......@@ -65,7 +65,7 @@ ErrorHandler::ErrorHandler()
QDebug ErrorHandler::debugStream(ErrorHandler::Severity severity, int line, const char *file)
QMutexLocker locker(&mutex);
ErrorHandler::instance().m_debugStream->m_location = QString(QLatin1String(file) + QStringLiteral("(") + QString::number(line)+QStringLiteral(")"));
ErrorHandler::instance().m_debugStream->m_location = QString(QLatin1String(file) + QLatin1Char('(') + QString::number(line) + QLatin1Char(')'));
ErrorHandler::instance().m_debugStream->m_severity = severity;
return QDebug(ErrorHandler::instance();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment