Commit 30fe2a0b authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Add KCrash code so krkonqi crash dialog works again

BUG: 367006
parent 79ca76a9
......@@ -39,7 +39,7 @@ find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED
Bookmarks Completion Config ConfigWidgets
CoreAddons GuiAddons DBusAddons
CoreAddons Crash GuiAddons DBusAddons
I18n IconThemes Init KIO Notifications NotifyConfig
Parts Pty Service TextWidgets WidgetsAddons
WindowSystem XmlGui DBusAddons
......
......@@ -175,6 +175,7 @@ target_link_libraries(kdeinit_konsole konsoleprivate KF5::XmlGui KF5::WindowSyst
KF5::I18n
KF5::KIOWidgets
KF5::NotifyConfig
KF5::Crash
)
install(TARGETS kdeinit_konsole konsole
......
......@@ -31,6 +31,7 @@
// KDE
#include <KAboutData>
#include <KLocalizedString>
#include <KCrash>
#include <Kdelibs4ConfigMigrator>
#include <Kdelibs4Migration>
#include <kdbusservice.h>
......@@ -106,6 +107,8 @@ extern "C" int Q_DECL_EXPORT kdemain(int argc, char* argv[])
KAboutData::setApplicationData(about);
KCrash::initialize();
QCommandLineParser parser;
parser.setApplicationDescription(about.shortDescription());
parser.addHelpOption();
......
Supports Markdown
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