Commit 9bb8a5f1 authored by Harald Sitter's avatar Harald Sitter 🐬

use kcrash so we get drkonqi to pop up on crashes

Test Plan: - kill -SEGV `pidof systemsettings5` brings up drkonqi

Reviewers: mart, bshah, davidedmundson

Reviewed By: bshah, davidedmundson

Subscribers: davidedmundson, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D10175
parent 831ed8a5
......@@ -22,6 +22,7 @@ find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
)
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
Crash
ItemViews
KCMUtils
I18n
......
......@@ -17,6 +17,7 @@ add_executable( systemsettings5 ${systemsettings_SRCS})
target_compile_definitions(systemsettings5 PRIVATE -DPROJECT_VERSION="${PROJECT_VERSION}")
target_link_libraries( systemsettings5 systemsettingsview
KF5::Crash
KF5::ItemViews
KF5::KCMUtils
KF5::I18n
......
......@@ -23,6 +23,7 @@
#include <QCommandLineParser>
#include <KAboutData>
#include <KCrash>
#include "SystemSettingsApp.h"
#include "SettingsBase.h"
......@@ -33,6 +34,7 @@ int main( int argc, char *argv[] )
//which is before KAboutData::setApplicationData
QCoreApplication::setApplicationName("systemsettings");
SystemSettingsApp application(argc, argv);
KCrash::initialize();
KLocalizedString::setApplicationDomain("systemsettings");
......
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