Commit 961c4f20 authored by Andreas Cord-Landwehr's avatar Andreas Cord-Landwehr
Browse files

Bump KF5 dependency and use better KCrash Init API.

parent 9ddea409
......@@ -30,7 +30,7 @@ if (POLICY CMP0063)
cmake_policy(SET CMP0063 NEW)
endif()
find_package(ECM 5.13.0 REQUIRED NO_MODULE)
find_package(ECM 5.15.0 REQUIRED NO_MODULE)
find_package(KF5DocTools)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
......
......@@ -52,8 +52,7 @@ int main(int argc, char **argv)
aboutData.addAuthor(ki18nc("@info:credit Developer name", "Magdalena Konkiewicz").toString(),
ki18nc("@info:credit Role", "Developer and Course Data").toString());
// TODO: for >=KF5.15 use KCrash::initialize();
KCrash::setCrashHandler(KCrash::defaultCrashHandler);
KCrash::initialize();
Application app(argc, argv);
KAboutData::setApplicationData(aboutData);
......
......@@ -42,9 +42,7 @@ int main(int argc, char **argv)
ki18nc("@info:credit Role", "Original Author").toString(),
"cordlandwehr@kde.org");
// TODO: for >=KF5.15 use KCrash::initialize();
KCrash::setCrashHandler(KCrash::defaultCrashHandler);
KCrash::initialize();
Application app(argc, argv);
KAboutData::setApplicationData(aboutData);
......
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