Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1:Update
kile5
0027-actually-initialize-kcrash-properly.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0027-actually-initialize-kcrash-properly.patch of Package kile5
From 21d62face41ffd9e858108f2d45a9abe50ba0db3 Mon Sep 17 00:00:00 2001 From: Harald Sitter <sitter@kde.org> Date: Mon, 19 Nov 2018 14:00:56 +0100 Subject: [PATCH 27/35] actually initialize kcrash properly Summary: to successfully use kcrash when linking with as-needed (which is a default flag on many linux distros) one also needs to call KCrash::initialize. without this kcrash handling is not available for most users. https://markmail.org/thread/zv5pheijaze72bzs Reviewers: mludwig Reviewed By: mludwig Subscribers: #kile Tags: #kile Differential Revision: https://phabricator.kde.org/D17011 --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 3b027160..bd7fef65 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -25,6 +25,7 @@ #include <QUrl> #include <KAboutData> +#include <KCrash> #include <KDBusService> #include <KEncodingProber> #include <KLocalizedString> @@ -128,6 +129,8 @@ extern "C" Q_DECL_EXPORT int kdemain(int argc, char **argv) KAboutData::setApplicationData(aboutData); + KCrash::initialize(); + app.setApplicationDisplayName(aboutData.displayName()); app.setOrganizationDomain(aboutData.organizationDomain()); app.setApplicationVersion(aboutData.version()); -- 2.20.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor