diff options
author | Francois Andriot <francois.andriot@free.fr> | 2013-05-08 21:43:09 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-05-08 21:43:39 +0200 |
commit | 7f328ba6990044b0a9d510060a2dcd468cf0fd9f (patch) | |
tree | fa0fb5f2955c91a030b4c244667818fd4f72f070 /tdecore | |
parent | d2f1ad161d5a3e5c672980146846936e2474fa2b (diff) | |
download | tdelibs-7f328ba6990044b0a9d510060a2dcd468cf0fd9f.tar.gz tdelibs-7f328ba6990044b0a9d510060a2dcd468cf0fd9f.zip |
Add XZ tdeioslave
Based on KDE GIT commit bbe9e8f5
Diffstat (limited to 'tdecore')
-rw-r--r-- | tdecore/kdebug.areas | 1 | ||||
-rw-r--r-- | tdecore/kurl.cpp | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/tdecore/kdebug.areas b/tdecore/kdebug.areas index 5653a9a03..2221c5d80 100644 --- a/tdecore/kdebug.areas +++ b/tdecore/kdebug.areas @@ -289,6 +289,7 @@ 7126 tdeio_devices 7127 tdeio_fish 7128 tdeio_svn +7131 tdeio_xz # tdesdk 8100 kompare 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; |