Commit a245d2a3 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

It's already in qt5.14

parent 63eb0168
Pipeline #48076 passed with stage
in 10 minutes and 12 seconds
......@@ -29,13 +29,7 @@ RenameCategory KDebugSettingsUtil::parseRenameCategory(QString line, const QStri
const int space = line.indexOf(QLatin1Char(' '));
if (space == -1) {
qCWarning(KDEBUGSETTINGS_LOG) << "Invalid categories file. Missing space. Syntax is logname<space>description + optional element. Line: "
<< line << " from file:" << filename
#if (QT_VERSION < QT_VERSION_CHECK(5, 15, 0))
<< endl
#else
<< Qt::endl
#endif
;
<< line << " from file:" << filename << Qt::endl;
return category;
}
......@@ -85,13 +79,7 @@ KdeLoggingCategory KDebugSettingsUtil::parseLineKdeLoggingCategory(QString line,
const int space = line.indexOf(QLatin1Char(' '));
if (space == -1) {
qCWarning(KDEBUGSETTINGS_LOG) << "Invalid categories file. Missing space. Syntax is logname<space>description + optional element. Line: "
<< line << " from file:" << filename
#if (QT_VERSION < QT_VERSION_CHECK(5, 15, 0))
<< endl
#else
<< Qt::endl
#endif
;
<< line << " from file:" << filename << Qt::endl;
return category;
}
QString logName;
......
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