X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/a23a882c68fb399f895ebed253cf2ad09944a347..c6a4a3aa063fb25e163bed8dac8587efef8c02b5:/src/treeviewcontextmenu.cpp diff --git a/src/treeviewcontextmenu.cpp b/src/treeviewcontextmenu.cpp index d095ee13d..40c5e9cd8 100644 --- a/src/treeviewcontextmenu.cpp +++ b/src/treeviewcontextmenu.cpp @@ -79,7 +79,7 @@ void TreeViewContextMenu::open() bool showDeleteCommand = kdeConfig.readEntry("ShowDeleteCommand", false); const KUrl& url = m_fileInfo.url(); if (url.isLocalFile()) { - QAction* moveToTrashAction = new QAction(KIcon("edit-trash"), + QAction* moveToTrashAction = new QAction(KIcon("user-trash"), i18nc("@action:inmenu", "Move To Trash"), this); connect(moveToTrashAction, SIGNAL(triggered()), this, SLOT(moveToTrash())); popup->addAction(moveToTrashAction); @@ -141,7 +141,7 @@ void TreeViewContextMenu::rename() { KFileItemList item; item.append(m_fileInfo); - RenameDialog dialog(item); + RenameDialog dialog(m_parent, item); if (dialog.exec() == QDialog::Accepted) { const QString& newName = dialog.newName(); if (!newName.isEmpty()) { @@ -164,7 +164,7 @@ void TreeViewContextMenu::deleteItem() void TreeViewContextMenu::showProperties() { - KPropertiesDialog dialog(m_fileInfo.url()); + KPropertiesDialog dialog(m_fileInfo.url(), m_parent); dialog.exec(); }