summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrius ┼átikonas <[email protected]>2017-04-12 01:07:13 +0100
committerAndrius ┼átikonas <[email protected]>2017-04-12 01:07:13 +0100
commit9a3c41dc3935b7a15c2a4fdf82bcb8e57dc3d58d (patch)
treedab295f2402903f68bc154408c29bf2644aebcae
parente5e808852bb1c7950d95b18da5e22eb6964cbd82 (diff)
Organization domain should be set in aboutData, otherwise KAboutData sets incorrect desktop file name.
-rw-r--r--kwave/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/kwave/main.cpp b/kwave/main.cpp
index 7de507e..db43f7b 100644
--- a/kwave/main.cpp
+++ b/kwave/main.cpp
@@ -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);