diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-04-19 19:24:29 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-04-19 19:24:29 +0200 |
commit | 5c0f5e49fbef5090a880c4eb69c2cc7c387e481b (patch) | |
tree | e9c9e76460cc0d9a0d4dde2ad15e1bcd215ea3a2 /kde-apps/okular/files | |
parent | x11-misc/sddm: Drop obsolete 0.16.0-r3 (diff) | |
download | gentoo-5c0f5e49fbef5090a880c4eb69c2cc7c387e481b.tar.gz gentoo-5c0f5e49fbef5090a880c4eb69c2cc7c387e481b.tar.bz2 gentoo-5c0f5e49fbef5090a880c4eb69c2cc7c387e481b.zip |
kde-apps/okular: Drop unnecessary patch
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'kde-apps/okular/files')
-rw-r--r-- | kde-apps/okular/files/okular-18.03.90-kcrash.patch | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/kde-apps/okular/files/okular-18.03.90-kcrash.patch b/kde-apps/okular/files/okular-18.03.90-kcrash.patch deleted file mode 100644 index 39ce8c3b0354..000000000000 --- a/kde-apps/okular/files/okular-18.03.90-kcrash.patch +++ /dev/null @@ -1,60 +0,0 @@ -From 3e25263d7709524e227207092533397ef65f2c82 Mon Sep 17 00:00:00 2001 -From: Albert Astals Cid <aacid@kde.org> -Date: Sun, 8 Apr 2018 11:50:18 +0200 -Subject: Use KCrash - ---- - CMakeLists.txt | 1 + - shell/CMakeLists.txt | 2 +- - shell/main.cpp | 3 +++ - 3 files changed, 5 insertions(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 2b38cac..fd2d55e 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -53,6 +53,7 @@ find_package(KF5 ${KF5_REQUIRED_VERSION} REQUIRED COMPONENTS - Config - ConfigWidgets - CoreAddons -+ Crash - DocTools - IconThemes - JS -diff --git a/shell/CMakeLists.txt b/shell/CMakeLists.txt -index ec2f1ba..e85076d 100644 ---- a/shell/CMakeLists.txt -+++ b/shell/CMakeLists.txt -@@ -27,7 +27,7 @@ ecm_add_app_icon(okular_SRCS ICONS ${ICONS_SRCS}) - - add_executable(okular ${okular_SRCS}) - --target_link_libraries(okular KF5::Parts KF5::WindowSystem) -+target_link_libraries(okular KF5::Parts KF5::WindowSystem KF5::Crash) - - if(NOT WIN32) - target_link_libraries(okular KF5::Activities) -diff --git a/shell/main.cpp b/shell/main.cpp -index 3f8dc43..de8a5c2 100644 ---- a/shell/main.cpp -+++ b/shell/main.cpp -@@ -20,6 +20,7 @@ - #include <kwindowsystem.h> - #include <QApplication> - #include <KAboutData> -+#include <KCrash> - #include <KMessageBox> - #include <QCommandLineParser> - #include <QCommandLineOption> -@@ -39,6 +40,8 @@ int main(int argc, char** argv) - // set icon for shells which do not use desktop file metadata - QApplication::setWindowIcon(QIcon::fromTheme(QStringLiteral("okular"))); - -+ KCrash::initialize(); -+ - QCommandLineParser parser; - // The KDE4 version accepted flags such as -unique with a single dash -> preserve compatibility - parser.setSingleDashWordOptionMode(QCommandLineParser::ParseAsLongOptions); --- -cgit v0.11.2 - |