[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kmplayer/0.12] src: KCrash setup not needed
From:       Koos Vriezen <koos.vriezen () gmail ! com>
Date:       2016-09-24 15:48:26
Message-ID: E1bnpBi-0004id-LS () code ! kde ! org
[Download RAW message or body]

Git commit ea5a76fec3bd2d92e4427d401f520efa7b804003 by Koos Vriezen.
Committed on 24/09/2016 at 15:26.
Pushed by vriezen into branch '0.12'.

KCrash setup not needed

Copied too much. I guess when using kdemain one gets KCrash
automatically

M  +0    -6    src/main.cpp

http://commits.kde.org/kmplayer/ea5a76fec3bd2d92e4427d401f520efa7b804003

diff --git a/src/main.cpp b/src/main.cpp
index f478571..8df79fc 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -19,9 +19,6 @@ email                :
 #include "config-kmplayer.h"
 #include <KAboutData>
 #include <KLocalizedString>
-#if KCrash_VERSION >= QT_VERSION_CHECK(5, 15, 0)
- #include <KCrash>
-#endif
 
 #include <QCommandLineParser>
 #include <QApplication>
@@ -44,9 +41,6 @@ extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv)
 
     QApplication app(argc, argv);
     app.setApplicationName(QStringLiteral("kwrite"));
-#if KCrash_VERSION >= QT_VERSION_CHECK(5, 15, 0)
-    KCrash::initialize();
-#endif
     KLocalizedString::setApplicationDomain("kmplayer");
 
     KAboutData aboutData(QStringLiteral("kmplayer"),

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic