diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-12-09 17:00:33 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-12-09 17:00:33 -0500 |
commit | bf7b1c01ce324e441d85d9706dfca6208c824f9d (patch) | |
tree | e856afb7f1f6dd2c3c50b4c1a71400ae2a29aca4 /libre/kdelibs-libre/fix-crash-on-open-with.patch | |
parent | 918b51b44f8d1a299f7f0fbce1f58491804c9f80 (diff) | |
parent | a16a7fa77c16e8e6c5abcdca28a2970f77ea8650 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre/kdelibs-libre/fix-crash-on-open-with.patch')
-rw-r--r-- | libre/kdelibs-libre/fix-crash-on-open-with.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libre/kdelibs-libre/fix-crash-on-open-with.patch b/libre/kdelibs-libre/fix-crash-on-open-with.patch new file mode 100644 index 000000000..60556386d --- /dev/null +++ b/libre/kdelibs-libre/fix-crash-on-open-with.patch @@ -0,0 +1,19 @@ +commit 0820b3173aff4f0f3c803a9e75e726024da38ee5 +Author: David Faure <faure@kde.org> +Date: Thu Dec 6 11:55:05 2012 +0100 + + Fix crash when no service was selected (user clicked on "Open With...") + +diff --git a/kparts/browserrun.cpp b/kparts/browserrun.cpp +index 6d84800..6de0380 100644 +--- a/kparts/browserrun.cpp ++++ b/kparts/browserrun.cpp +@@ -304,7 +304,7 @@ BrowserRun::NonEmbeddableResult BrowserRun::handleNonEmbeddable(const QString& _ + this, SLOT(slotCopyToTempFileResult(KJob*)) ); + return Delayed; // We'll continue after the job has finished + } +- if (selectedService) { ++ if (selectedService && question.selectedService()) { + *selectedService = question.selectedService(); + // KRun will use this when starting an app + KRun::setPreferredService(question.selectedService()->desktopEntryName()); |