Commit a7f4f70f authored by Bernhard Beschow's avatar Bernhard Beschow
Browse files

bring back support for Dr. Konqui

parent e27a5ebb
...@@ -6,7 +6,7 @@ if(ECM_FOUND) ...@@ -6,7 +6,7 @@ if(ECM_FOUND)
include(KDECMakeSettings) include(KDECMakeSettings)
include(ECMInstallIcons) include(ECMInstallIcons)
endif() endif()
macro_optional_find_package(KF5 QUIET COMPONENTS Wallet NewStuff Parts CoreAddons I18n) macro_optional_find_package(KF5 QUIET COMPONENTS Crash Wallet NewStuff Parts CoreAddons I18n)
if (NOT KF5_FOUND) if (NOT KF5_FOUND)
return() return()
...@@ -58,6 +58,7 @@ target_link_libraries ( ...@@ -58,6 +58,7 @@ target_link_libraries (
KF5::NewStuff KF5::NewStuff
KF5::Wallet KF5::Wallet
KF5::Parts KF5::Parts
KF5::Crash
KF5::CoreAddons KF5::CoreAddons
KF5::I18n KF5::I18n
) )
......
...@@ -13,13 +13,14 @@ ...@@ -13,13 +13,14 @@
#include <kaboutdata.h> #include <kaboutdata.h>
#include <KConfig> #include <KConfig>
#include <KConfigGroup> #include <KConfigGroup>
#include <kcrash.h>
#include <klocalizedstring.h> #include <klocalizedstring.h>
#include <KSharedConfig> #include <KSharedConfig>
#include <QFile> #include <QFile>
#include <QCommandLineParser> #include <QCommandLineParser>
#include <QApplication> #include <QApplication>
#include "ControlView.h" #include "ControlView.h"
#include "KdeMainWindow.h" #include "KdeMainWindow.h"
#include "GeoUriParser.h" #include "GeoUriParser.h"
...@@ -264,6 +265,9 @@ int main ( int argc, char *argv[] ) ...@@ -264,6 +265,9 @@ int main ( int argc, char *argv[] )
" Marble's predecessor \"Kartographer\"." )); " Marble's predecessor \"Kartographer\"." ));
KAboutData::setApplicationData(aboutData); KAboutData::setApplicationData(aboutData);
KCrash::setCrashHandler( KCrash::defaultCrashHandler );
KCrash::setDrKonqiEnabled( true );
QApplication app( argc, argv ); QApplication app( argc, argv );
QCommandLineParser parser; QCommandLineParser parser;
parser.addHelpOption(); parser.addHelpOption();
......
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