X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/7cd37f474739f666db310c65db9035591c3c7d78..95042476f62370fc3dde8f53869da23ebe8d079d:/src/treeviewcontextmenu.cpp diff --git a/src/treeviewcontextmenu.cpp b/src/treeviewcontextmenu.cpp index 834456e02..b53241b18 100644 --- a/src/treeviewcontextmenu.cpp +++ b/src/treeviewcontextmenu.cpp @@ -75,7 +75,7 @@ void TreeViewContextMenu::open() popup->addAction(renameAction); // insert 'Move to Trash' and (optionally) 'Delete' - const KSharedConfig::Ptr globalConfig = KSharedConfig::openConfig("kdeglobals", KConfig::NoGlobals); + const KSharedConfig::Ptr globalConfig = KSharedConfig::openConfig("kdeglobals"); const KConfigGroup kdeConfig(globalConfig, "KDE"); bool showDeleteCommand = kdeConfig.readEntry("ShowDeleteCommand", false); const KUrl& url = m_fileInfo.url(); @@ -140,7 +140,7 @@ void TreeViewContextMenu::paste() void TreeViewContextMenu::rename() { - QList item; + KFileItemList item; item.append(m_fileInfo); RenameDialog dialog(item); if (dialog.exec() == QDialog::Accepted) {