Commit 5c73518c authored by Luigi Toscano's avatar Luigi Toscano

Fix the translation of the about box of the editor

Move the initialization of QApplication as soon as possible, so that
the domain is properly set when the KAboutData instance is created.
parent 0edba40f
......@@ -29,6 +29,7 @@
int main(int argc, char **argv)
{
Application app(argc, argv);
KLocalizedString::setApplicationDomain("artikulate");
KAboutData aboutData("artikulate_editor",
......@@ -44,7 +45,6 @@ int main(int argc, char **argv)
ki18nc("@info:credit Role", "Original Author").toString(),
"cordlandwehr@kde.org");
Application app(argc, argv);
KAboutData::setApplicationData(aboutData);
KCrash::initialize();
......
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