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

List:       kde-commits
Subject:    [bovo] gui: Call initialize() so KCrash is not optimised out.
From:       Frederik Schwarzer <schwarzerf () gmail ! com>
Date:       2016-01-27 8:53:41
Message-ID: E1aOLrB-0001Iw-W0 () scm ! kde ! org
[Download RAW message or body]

Git commit 25902f0de99978a724bf27c7d5d5f008b34f8078 by Frederik Schwarzer.
Committed on 27/01/2016 at 08:53.
Pushed by schwarzer into branch 'master'.

Call initialize() so KCrash is not optimised out.

M  +2    -0    gui/main.cc

http://commits.kde.org/bovo/25902f0de99978a724bf27c7d5d5f008b34f8078

diff --git a/gui/main.cc b/gui/main.cc
index 67e5461..2ade4ca 100644
--- a/gui/main.cc
+++ b/gui/main.cc
@@ -25,6 +25,7 @@
 #include <kdelibs4configmigrator.h>
 #include <klocalizedstring.h>
 #include <KDBusService>
+#include <KCrash>
 =

 #include "mainwindow.h"
 #include "version.h"
@@ -55,6 +56,7 @@ int main(int argc, char **argv) {
     aboutData.setProductName(QByteArray("bovo"));
 =

     KAboutData::setApplicationData(aboutData);
+    KCrash::initialize();
 =

     QCommandLineParser parser;
     parser.addVersionOption();
[prev in list] [next in list] [prev in thread] [next in thread] 

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