summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-10-23 13:58:45 +0200
committerMontel Laurent <[email protected]>2017-10-23 13:58:45 +0200
commit9dadfea7c443f057cbe9544bed986404257e5489 (patch)
tree143c3682faa17b13002a79d542b20697731e8a15
parent862f0f0c191e45ff1571a1663b64d6347f2d4133 (diff)
IT's already done in kaboutdata
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/main.cpp2
2 files changed, 1 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fd0d265..ad14e94 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,7 +2,7 @@ project(lskat)
cmake_minimum_required (VERSION 2.8.12 FATAL_ERROR)
set (QT_MIN_VERSION "5.7.0")
-set (KF5_MIN_VERSION "5.15.0")
+set (KF5_MIN_VERSION "5.30.0")
find_package(ECM ${KF5_MIN_VERSION} REQUIRED CONFIG)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
diff --git a/src/main.cpp b/src/main.cpp
index 7840055..8515699 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -88,8 +88,6 @@ int main(int argc, char *argv[])
QCommandLineParser parser;
KAboutData::setApplicationData(aboutData);
- parser.addVersionOption();
- parser.addHelpOption();
parser.addOption(QCommandLineOption(QStringList() << QLatin1String("d") << QLatin1String("debug"), i18n("Enter debug level"), QLatin1String("level")));
parser.addOption(QCommandLineOption(QStringList() << QLatin1String("skipintro"), i18n("Skip intro animation")));