Commit 56932fc2 authored by Alexander Volkov's avatar Alexander Volkov

Fix qstring-insensitive-allocation clazy warning

parent 13c9d74d
......@@ -28,7 +28,7 @@ KScreen::Output::Type Utils::guessOutputType(const QString &type, const QString
QLatin1String("LCD") };
for (const QLatin1String &pre : embedded) {
if (name.toUpper().startsWith(pre)) {
if (name.startsWith(pre, Qt::CaseInsensitive)) {
return KScreen::Output::Panel;
}
}
......
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