summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Cord-Landwehr <cordlandwehr@kde.org>2016-10-22 12:58:34 (GMT)
committerAndreas Cord-Landwehr <cordlandwehr@kde.org>2016-10-22 12:58:34 (GMT)
commit9f58befa3305a4b7294b6a38e5f010230f224226 (patch)
tree373b5e823ebb7de251dcd01d6b695bc61273d85a
parent1c09a84308bc808aff7baae95412e4e538b33685 (diff)
Fix application init
-rw-r--r--src/main.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 729bac8..e8a5923 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -132,14 +132,13 @@ int main(int argc, char **argv)
ki18n("Adding new sizable Periodic System").toString());
- KAboutData::setApplicationData(about);
-
QApplication::setApplicationName("kalzium");
QApplication::setApplicationVersion(version);
QApplication::setOrganizationDomain("kde.org");
- QApplication::setApplicationDisplayName(i18n("kalzium"));
QApplication app(argc, argv);
+ KAboutData::setApplicationData(about);
+
QCommandLineParser parser;
parser.addVersionOption();
parser.addHelpOption();