mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
Fix clazy inefficient-qlist-soft warning
This commit is contained in:
parent
31bc909c3b
commit
b2d4e3322a
|
@ -57,7 +57,7 @@ struct UncompressCommand
|
|||
};
|
||||
|
||||
void runUncompress(const QString &inputPath, const QString &outputPath) {
|
||||
QList<QPair<QStringList, UncompressCommand>> mimeTypeToCommand;
|
||||
QVector<QPair<QStringList, UncompressCommand>> mimeTypeToCommand;
|
||||
mimeTypeToCommand.append({QStringList{"application/x-tar", "application/tar", "application/x-gtar",
|
||||
"multipart/x-tar"},
|
||||
UncompressCommand{"tar", QStringList() << "-xf", QStringList() << "-C"}});
|
||||
|
|
Loading…
Reference in a new issue