Commit 56475cb8 authored by Luigi Toscano's avatar Luigi Toscano

Fix the translation of the about box

Move the initialization of QApplication as soon as possible, so that
the domain is properly set when the KAboutData instance is created.
parent 5d741e9a
......@@ -31,6 +31,7 @@
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
KLocalizedString::setApplicationDomain("rocs");
KAboutData aboutData("rocs",
......@@ -55,7 +56,6 @@ int main(int argc, char *argv[])
"wagner.reck@gmail.com",
"http://wiglot.wordpress.com");
QApplication app(argc, argv);
app.setApplicationVersion(aboutData.version());
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