forward port fix for bug #252612 from 6ed9229f4b2df1d98821bef5ab7a361b5dea9ffa in KDE/4.7 branch
This commit is contained in:
parent
04854068fc
commit
135dee0367
@ -280,8 +280,8 @@ KPluginInfo Package::metadata() const
|
||||
|
||||
if (mimeType->is("application/zip")) {
|
||||
archive = new KZip(d->path);
|
||||
} else if (mimeType->is("application/x-compressed-tar") ||
|
||||
mimeType->is("application/x-tar")|| mimeType->is("application/x-bzip-compressed-tar")) {
|
||||
} else if (mimeType->is("application/x-compressed-tar") || mimeType->is("application/x-gzip") ||
|
||||
mimeType->is("application/x-tar") || mimeType->is("application/x-bzip-compressed-tar")) {
|
||||
archive = new KTar(d->path);
|
||||
} else {
|
||||
kWarning() << "Could not open package file, unsupported archive format:" << d->path << mimeType->name();
|
||||
|
Loading…
x
Reference in New Issue
Block a user