Commit a874c8fb authored by Harald Sitter's avatar Harald Sitter 🌹
Browse files

use kcrash so we can catch crashes with drkonqi

parent ef8c8b73
...@@ -18,6 +18,7 @@ find_package (Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS ...@@ -18,6 +18,7 @@ find_package (Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
Bookmarks Bookmarks
Crash
DocTools DocTools
I18n I18n
WidgetsAddons WidgetsAddons
...@@ -32,7 +33,13 @@ set(kcharselect_SRCS kcharselectdia.cc main.cc ) ...@@ -32,7 +33,13 @@ set(kcharselect_SRCS kcharselectdia.cc main.cc )
add_executable(kcharselect ${kcharselect_SRCS}) add_executable(kcharselect ${kcharselect_SRCS})
target_link_libraries(kcharselect KF5::Bookmarks KF5::I18n KF5::WidgetsAddons KF5::XmlGui ) target_link_libraries(kcharselect
KF5::Bookmarks
KF5::Crash
KF5::I18n
KF5::WidgetsAddons
KF5::XmlGui
)
install(TARGETS kcharselect ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} ) install(TARGETS kcharselect ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <QCommandLineParser> #include <QCommandLineParser>
#include <KAboutData> #include <KAboutData>
#include <KCrash>
#include <KLocalizedString> #include <KLocalizedString>
#include <Kdelibs4ConfigMigrator> #include <Kdelibs4ConfigMigrator>
#include "kcharselectdia.h" #include "kcharselectdia.h"
...@@ -26,6 +27,7 @@ ...@@ -26,6 +27,7 @@
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
QApplication app( argc, argv ); QApplication app( argc, argv );
KCrash::initialize();
KLocalizedString::setApplicationDomain("kcharselect"); KLocalizedString::setApplicationDomain("kcharselect");
......
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