diff options
author | Eric Hameleers <alien@slackware.com> | 2020-07-31 16:13:18 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2020-07-31 16:13:18 +0200 |
commit | 703149752c6265b36973d2c1f0f5a69721e3128a (patch) | |
tree | 7ded0d801771d5705f48ffbfb48f37dd4829439e /kde/patch/kio/kio_KDEBUG_399709.patch | |
parent | dd005500c624d127321ff3fe14a0c29bfa8d67f7 (diff) | |
parent | cd7ff1719433fbb3b6a8304596be173bc1b91b00 (diff) | |
download | ktown-master.tar.gz ktown-master.tar.xz |
Diffstat (limited to 'kde/patch/kio/kio_KDEBUG_399709.patch')
-rw-r--r-- | kde/patch/kio/kio_KDEBUG_399709.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/kde/patch/kio/kio_KDEBUG_399709.patch b/kde/patch/kio/kio_KDEBUG_399709.patch deleted file mode 100644 index 0a8cfdc..0000000 --- a/kde/patch/kio/kio_KDEBUG_399709.patch +++ /dev/null @@ -1,44 +0,0 @@ -From cf3b0d102855a4a90db3fb65a99e0009fcdd3755 Mon Sep 17 00:00:00 2001 -From: Michael Pyne <mpyne@kde.org> -Date: Sat, 13 Oct 2018 19:09:50 -0400 -Subject: kio_help: Fix crash in QCoreApplication when accessing help://. - -A recent commit d428fc8e6447ede81f1e1911d0b66b39265672f3 removed old -custom crash handling code in favor of KCrash. But this actually adds a -dependency on there being a valid QCoreApplication object. - -I took from the example of the similar kio_file to simply create the -QCoreApplication here. - -BUG:399709 - -Differential Revision: https://phabricator.kde.org/D16189 ---- - src/ioslaves/help/main.cpp | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/src/ioslaves/help/main.cpp b/src/ioslaves/help/main.cpp -index f09987a..f800a9d 100644 ---- a/src/ioslaves/help/main.cpp -+++ b/src/ioslaves/help/main.cpp -@@ -10,6 +10,7 @@ extern "C" int xmlLoadExtDtdDefaultValue; - - #include <QDebug> - -+#include <QCoreApplication> - #include <QString> - - #include <stdlib.h> -@@ -40,6 +41,9 @@ extern "C" - { - Q_DECL_EXPORT int kdemain(int argc, char **argv) - { -+ QCoreApplication app(argc, argv); // needed for KCrash -+ app.setApplicationName(QStringLiteral("kio_help")); -+ - KDocTools::setupStandardDirs(); - - //qDebug() << "Starting " << getpid(); --- -cgit v0.11.2 - |