Commit 9a3c41dc authored by Andrius Štikonas's avatar Andrius Štikonas

Organization domain should be set in aboutData, otherwise KAboutData sets...

Organization domain should be set in aboutData, otherwise KAboutData sets incorrect desktop file name.
parent e5e80885
......@@ -212,6 +212,8 @@ int main(int argc, char **argv)
);
addDataStrings(about);
about.setOrganizationDomain(QByteArray("kde.org"));
/* use the about data above for this application */
KAboutData::setApplicationData(about);
......@@ -225,7 +227,6 @@ int main(int argc, char **argv)
app.processCmdline(&cmdline);
app.setApplicationName(_("kwave"));
app.setApplicationVersion(_(KWAVE_VERSION));
app.setOrganizationDomain(_("kde.org"));
cmdline.process(app);
about.setupCommandLine(&cmdline);
about.processCommandLine(&cmdline);
......
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