Commit 606df181 authored by Nikita Melnichenko's avatar Nikita Melnichenko

replaced deprecated QSet<T>::toList

parent 9ba3c190
......@@ -176,7 +176,7 @@ PanelContextMenu::PanelContextMenu(KrPanel *krPanel, QWidget *parent)
QSet<QString> uniqueMimeTypes;
for (FileItem *file : files)
uniqueMimeTypes.insert(file->getMime());
const QStringList mimeTypes = uniqueMimeTypes.toList();
const QStringList mimeTypes = uniqueMimeTypes.values();
offers = mimeTypes.count() == 1 ?
KMimeTypeTrader::self()->query(mimeTypes.first()) :
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment