Commit 97d6ac60 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

We need to initialize KCrash.

Wierd that a base feature is not initialize by default by KApplication...
parent f2ad9647
......@@ -59,6 +59,7 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${pimsettingexporter_SOURCE_DIR})
# Find KF5 package
find_package(KF5DBusAddons ${KF5_VERSION} CONFIG REQUIRED)
find_package(KF5DocTools ${KF5_VERSION} REQUIRED)
find_package(KF5Crash ${KF5_VERSION} REQUIRED)
# Find KdepimLibs Package
find_package(KF5PimTextEdit ${KPIMTEXTEDIT_LIB_VERSION} CONFIG REQUIRED)
......
......@@ -62,6 +62,7 @@ target_link_libraries(pimsettingexporter
KF5::KIOFileWidgets
KF5::Notifications
KF5::I18n
KF5::Crash
)
add_subdirectory(kconf_update)
......
......@@ -26,6 +26,7 @@
#include <QCommandLineOption>
#include <QApplication>
#include <kdelibs4configmigrator.h>
#include <KCrash>
int main(int argc, char *argv[])
{
......@@ -33,6 +34,7 @@ int main(int argc, char *argv[])
KLocalizedString::setApplicationDomain("pimsettingexporter");
KCrash::initialize();
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
app.setAttribute(Qt::AA_EnableHighDpiScaling);
Kdelibs4ConfigMigrator migrate(QStringLiteral("pimsettingexporter"));
......
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