Commit 11d96806 authored by Heiko Becker's avatar Heiko Becker 🎸

Initialize KCrash

This also means KF5 5.15 is required.

Thanks to Andreas Sturmlechner for noticing.
parent ed29967a
......@@ -18,7 +18,7 @@ add_definitions(
-DQT_NO_URL_CAST_FROM_STRING
)
find_package(KF5 REQUIRED COMPONENTS
find_package(KF5 5.15.0 REQUIRED COMPONENTS
Bookmarks
Crash
Config
......@@ -57,6 +57,7 @@ target_link_libraries(sweeper
Qt5::DBus
Qt5::Widgets
KF5::Bookmarks
KF5::Crash
KF5::I18n
KF5::KIOCore
KF5::TextWidgets
......
......@@ -23,6 +23,7 @@
#include <QIcon>
#include <KAboutData>
#include <KCrash>
#include <Kdelibs4ConfigMigrator>
#include <KLocalizedString>
......@@ -62,6 +63,8 @@ int main(int argc, char *argv[])
parser.process(a);
aboutData.processCommandLine(&parser);
KCrash::initialize();
// Application
Sweeper *app;
if(parser.isSet(QStringLiteral("automatic"))) {
......
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