Commit 3b795100 authored by Aurélien Gâteau's avatar Aurélien Gâteau
Browse files

Added file operations and "open with" entries to document view popup menu.

Patch by Marian Kyral (Thanks!)
BUG: 187819

svn path=/trunk/KDE/kdegraphics/gwenview/; revision=954525
parent fddfd14d
......@@ -415,6 +415,12 @@ void DocumentPanel::showContextMenu() {
addActionToMenu(&menu, d->mActionCollection, "view_zoom_in");
addActionToMenu(&menu, d->mActionCollection, "view_zoom_out");
}
menu.addSeparator();
addActionToMenu(&menu, d->mActionCollection, "file_copy_to");
addActionToMenu(&menu, d->mActionCollection, "file_move_to");
addActionToMenu(&menu, d->mActionCollection, "file_link_to");
menu.addSeparator();
addActionToMenu(&menu, d->mActionCollection, "file_open_with");
menu.exec(QCursor::pos());
}
......
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