summaryrefslogtreecommitdiffstats
path: root/tdecore/kurl.cpp
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2013-05-08 21:43:09 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-05-08 21:43:39 +0200
commit7f328ba6990044b0a9d510060a2dcd468cf0fd9f (patch)
treefa0fb5f2955c91a030b4c244667818fd4f72f070 /tdecore/kurl.cpp
parentd2f1ad161d5a3e5c672980146846936e2474fa2b (diff)
downloadtdelibs-7f328ba6990044b0a9d510060a2dcd468cf0fd9f.tar.gz
tdelibs-7f328ba6990044b0a9d510060a2dcd468cf0fd9f.zip
Add XZ tdeioslave
Based on KDE GIT commit bbe9e8f5
Diffstat (limited to 'tdecore/kurl.cpp')
-rw-r--r--tdecore/kurl.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tdecore/kurl.cpp b/tdecore/kurl.cpp
index 7d9c3f5a6..0b5f88c3d 100644
--- a/tdecore/kurl.cpp
+++ b/tdecore/kurl.cpp
@@ -1482,6 +1482,10 @@ bool KURL::hasSubURL() const
return true;
if (m_strRef_encoded.startsWith("zip:"))
return true;
+ if (m_strRef_encoded.startsWith("lzma:"))
+ return true;
+ if (m_strRef_encoded.startsWith("xz:"))
+ return true;
if ( m_strProtocol == "error" ) // anything that starts with error: has suburls
return true;
return false;