Call KLocalizedString::setApplicationDomain only after QApp creation

parent 1a3917b6
......@@ -258,8 +258,8 @@ int main(int argc, char *argv[])
rawArgs << QString::fromLocal8Bit(argv[i]);
}
KLocalizedString::setApplicationDomain("kdialog");
QApplication app(argc, argv);
KLocalizedString::setApplicationDomain("kdialog");
// enable high dpi support
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
......
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