mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
Converted to the standard mimetype names
svn path=/trunk/KDE/kdebase/apps/; revision=644795
This commit is contained in:
parent
3c366173bd
commit
ec9841397f
|
@ -676,14 +676,14 @@ void DolphinView::triggerItem(const QModelIndex& index)
|
|||
else if (item->isFile()) {
|
||||
// allow to browse through ZIP and tar files
|
||||
KMimeType::Ptr mime = item->mimeTypePtr();
|
||||
if (mime->is("application/x-zip")) {
|
||||
if (mime->is("application/zip")) {
|
||||
url.setProtocol("zip");
|
||||
setUrl(url);
|
||||
}
|
||||
else if (mime->is("application/x-tar") ||
|
||||
mime->is("application/x-tarz") ||
|
||||
mime->is("application/x-tbz") ||
|
||||
mime->is("application/x-tgz") ||
|
||||
mime->is("application/x-bzip-compressed-tar") ||
|
||||
mime->is("application/x-compressed-tar") ||
|
||||
mime->is("application/x-tzo")) {
|
||||
url.setProtocol("tar");
|
||||
setUrl(url);
|
||||
|
|
Loading…
Reference in a new issue