The restructuring in 02dcf75a073017a049db70e3e duplicated some code,
including this list of mimetypes, so it wasn't updated after the changes in 4.8 (897b07485a8c) got merged into the other copy of this code, in this same file... CCMAIL: aseigo@kde.org
This commit is contained in:
parent
1480efc1ce
commit
127c54fd1c
@ -272,7 +272,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-gzip") ||
|
||||
mimeType->is("application/x-tar") || mimeType->is("application/x-bzip-compressed-tar")) {
|
||||
mimeType->is("application/x-tar") || mimeType->is("application/x-bzip-compressed-tar") ||
|
||||
mimeType->is("application/x-xz") || mimeType->is("application/x-lzma")) {
|
||||
archive = new KTar(d->path);
|
||||
} else {
|
||||
kWarning() << "Could not open package file, unsupported archive format:" << d->path << mimeType->name();
|
||||
|
Loading…
Reference in New Issue
Block a user