[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdeutils/ark
From: Waldo Bastian <bastian () kde ! org>
Date: 2005-01-28 12:07:51
Message-ID: 20050128120751.92AB01BB19 () office ! kde ! org
[Download RAW message or body]
CVS commit by waba:
Proper auto-detection of the [gb]zipped files
M +6 -1 archiveformatinfo.cpp 1.10
--- kdeutils/ark/archiveformatinfo.cpp #1.9:1.10
@@ -217,5 +217,10 @@ QString ArchiveFormatInfo::findMimeType(
if ( n == 0x200 && buffer[0] != 0 && !strncmp(buffer + 257, "ustar", 5) )
- return "application/x-tar";
+ {
+ if (mimeType == "application/x-bzip2")
+ return "application/x-tbz";
+ else
+ return "application/x-tgz";
+ }
return mimeType;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic