summaryrefslogtreecommitdiffstats
path: root/kde/patch/kdelibs/kdelibs.mimetypecheck.BUG311214.patch
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2014-12-22 15:11:27 +0100
committer Eric Hameleers <alien@slackware.com>2014-12-22 15:11:27 +0100
commit5fc3fdb057a38c4c237a09c390871899dcfde24a (patch)
tree8b63511032f4850e197a065260d07f5970ad6dab /kde/patch/kdelibs/kdelibs.mimetypecheck.BUG311214.patch
parent8d7dd4892e8aa73ce7c3ea73f48a5274e48f5428 (diff)
downloadktown-5fc3fdb057a38c4c237a09c390871899dcfde24a.tar.gz
ktown-5fc3fdb057a38c4c237a09c390871899dcfde24a.tar.xz
KDE 4.10.5 for Slackware 14.0 (02jul2013)4.10.5
Diffstat (limited to 'kde/patch/kdelibs/kdelibs.mimetypecheck.BUG311214.patch')
-rw-r--r--kde/patch/kdelibs/kdelibs.mimetypecheck.BUG311214.patch48
1 files changed, 0 insertions, 48 deletions
diff --git a/kde/patch/kdelibs/kdelibs.mimetypecheck.BUG311214.patch b/kde/patch/kdelibs/kdelibs.mimetypecheck.BUG311214.patch
deleted file mode 100644
index 048f2d0..0000000
--- a/kde/patch/kdelibs/kdelibs.mimetypecheck.BUG311214.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-commit 73283f1332e90fbb6fe0caa39a038cb16b83a54c
-Author: David Faure <faure@kde.org>
-Date: Wed Dec 5 22:42:25 2012 +0100
-
- Revert "Also check parent mimetypes in protocolForArchiveMimetype()."
-
- This reverts commit 4f296cfbced2c4ad54beec8f500ed2d3fc04ee05.
- It breaks opening odt and other zip-based files in external apps.
- That's what I get for delegating the testing :-)
- BUG: 311214
-
-diff --git a/kio/kio/kprotocolmanager.cpp b/kio/kio/kprotocolmanager.cpp
-index 3f1cadd..502a3e6 100644
---- a/kio/kio/kprotocolmanager.cpp
-+++ b/kio/kio/kprotocolmanager.cpp
-@@ -47,7 +47,6 @@
- #include <ksharedconfig.h>
- #include <kstandarddirs.h>
- #include <kurl.h>
--#include <kmimetype.h>
- #include <kmimetypetrader.h>
- #include <kprotocolinfofactory.h>
-
-@@ -1190,23 +1189,7 @@ QString KProtocolManager::protocolForArchiveMimetype( const QString& mimeType )
- }
- }
- }
-- const QString prot = d->protocolForArchiveMimetypes.value(mimeType);
-- if (!prot.isEmpty())
-- return prot;
--
-- // Check parent mimetypes
-- KMimeType::Ptr mime = KMimeType::mimeType(mimeType);
-- if (mime) {
-- const QStringList parentMimeTypes = mime->allParentMimeTypes();
-- Q_FOREACH(const QString& parentMimeType, parentMimeTypes) {
-- const QString res = d->protocolForArchiveMimetypes.value(parentMimeType);
-- if (!res.isEmpty()) {
-- return res;
-- }
-- }
-- }
--
-- return QString();
-+ return d->protocolForArchiveMimetypes.value(mimeType);
- }
-
- #undef PRIVATE_DATA