Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit ed5ede87 authored by Luigi Toscano's avatar Luigi Toscano

Fix initialization (command line, obsolete call)

- fix the name of the course-info action (remove trailing space);
- remove the obsolete (and noop) call to QApplication::setColorSpec().
parent a1539763
......@@ -67,7 +67,7 @@ int main(int argc, char **argv)
parser.addVersionOption();
parser.addHelpOption();
parser.addOption(QCommandLineOption(QStringList() << QLatin1String("+file"), i18n("File")));
parser.addOption(QCommandLineOption(QStringList() << QLatin1String("course-info "), i18n("Print course information and exit")));
parser.addOption(QCommandLineOption(QStringList() << QLatin1String("course-info"), i18n("Print course information and exit")));
aboutData.setupCommandLine(&parser);
parser.process(app);
......@@ -97,8 +97,6 @@ int main(int argc, char **argv)
}
}
QApplication::setColorSpec(QApplication::ManyColor);
KolfWindow *top = new KolfWindow;
if (parser.positionalArguments().count() >= 1)
......
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