From e2a62bdbfbe2ddfb9a3ffc37a9bfba158767480e Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 25 Nov 2017 18:49:52 +0900 Subject: Removed non existent application/x-tbz2 mimetype. This relates to bug 2043. Signed-off-by: Michele Calgaro (cherry picked from commit 96765e0aa27a58e8747b8f867713fd1cc45c19b4) --- ark/tar.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'ark/tar.cpp') diff --git a/ark/tar.cpp b/ark/tar.cpp index 10bf55f..cd8acee 100644 --- a/ark/tar.cpp +++ b/ark/tar.cpp @@ -91,13 +91,6 @@ TarArch::TarArch( ArkWidget *_gui, kdDebug(1601) << "TarArch::TarArch: mimetype is " << m_fileMimeType << endl; - if ( m_fileMimeType == "application/x-tbz2" ) - { - // ark treats .tar.bz2 as x-tbz, instead of duplicating the mimetype - // let's just alias it to the one we already handle. - m_fileMimeType = "application/x-tbz"; - } - if ( m_fileMimeType == "application/x-tar" ) { compressed = false; -- cgit v1.2.1