Commit 42c9fd1e authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Ralf Habacker

Fix build with -DBUILD_KF5=ON

Reviewers: #umbrello

Differential Revision: https://phabricator.kde.org/D8631

CCBUG:8631
parent 17d4afa7
......@@ -226,7 +226,7 @@ int main(int argc, char *argv[])
Uml::ProgrammingLanguage::Enum pl = Uml::ProgrammingLanguage::fromInt(i);
QByteArray langString = "set-language-";
langString += Uml::ProgrammingLanguage::toString(pl).toLower().toLocal8Bit();
if (args->isSet(langString)) {
if (args->isSet(QString::fromLatin1(langString))) {
lang = Uml::ProgrammingLanguage::fromInt(i);
}
}
......
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