Commit 9f58befa authored by Andreas Cord-Landwehr's avatar Andreas Cord-Landwehr
Browse files

Fix application init

parent 1c09a843
......@@ -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();
......
Supports Markdown
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