Skip to content
Snippets Groups Projects
Commit 199c1315 authored by Eike Ziller's avatar Eike Ziller
Browse files

Bookmarks: Separate destructive actions.


Destructive actions should be separated by separator in menus to avoid
mis-clicks, we also did that for e.g. the Build menu.

Change-Id: I9dfecefb487d953a1c57ffa41c76a1542dee16c2
Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
parent c7ea186d
No related branches found
No related tags found
No related merge requests found
......@@ -237,9 +237,11 @@ void BookmarkView::contextMenuEvent(QContextMenuEvent *event)
QMenu menu;
QAction *moveUp = menu.addAction(tr("Move Up"));
QAction *moveDown = menu.addAction(tr("Move Down"));
QAction *editNote = menu.addAction(tr("Edit Note"));
menu.addSeparator();
QAction *remove = menu.addAction(tr("&Remove"));
menu.addSeparator();
QAction *removeAll = menu.addAction(tr("Remove All"));
QAction *editNote = menu.addAction(tr("Edit Note"));
m_contextMenuIndex = indexAt(event->pos());
if (!m_contextMenuIndex.isValid()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment