Commit 1faccf12 authored by Luigi Toscano's avatar Luigi Toscano

Fix: load the translation domain as early as possible

Fix the untranslated message in the "About" tab part of the
"About Picmi" dialog (the KAboutData instance was created before
setting the domain).
parent 844c0f8a
......@@ -36,6 +36,7 @@ int main(int argc, char *argv[])
migrate.migrate();
QApplication app(argc, argv);
KLocalizedString::setApplicationDomain("picmi");
KAboutData about("picmi",
......@@ -59,7 +60,6 @@ int main(int argc, char *argv[])
about.setupCommandLine(&parser);
parser.process(app);
about.processCommandLine(&parser);
KLocalizedString::setApplicationDomain("picmi");
KDBusService service;
......
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