From 1d353e6a1fc5b289666902b0f5f5ba074ea28367 Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Fri, 12 Jun 2015 16:53:51 +0200 Subject: [PATCH] Fix strings in debugger's menu The menu items should end in "..." if and only if they open a new window, not a submenu. Change-Id: Ibf1bbbe8cc4d1ef6384bd76535644a61458530fd Reviewed-by: hjk --- src/plugins/debugger/watchwindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/debugger/watchwindow.cpp b/src/plugins/debugger/watchwindow.cpp index 39e1ecfaddf..add255f040e 100644 --- a/src/plugins/debugger/watchwindow.cpp +++ b/src/plugins/debugger/watchwindow.cpp @@ -748,11 +748,11 @@ void WatchTreeView::contextMenuEvent(QContextMenuEvent *ev) actRemoveAllWatchExpression.setEnabled(canRemoveWatches && !handler->watchedExpressions().isEmpty()); - QMenu formatMenu(tr("Change Local Display Format...")); + QMenu formatMenu(tr("Change Local Display Format")); if (mi0.isValid()) fillFormatMenu(&formatMenu, mi0); - QMenu memoryMenu(tr("Open Memory Editor...")); + QMenu memoryMenu(tr("Open Memory Editor")); QAction actOpenMemoryEditAtObjectAddress(0); QAction actOpenMemoryEditAtPointerAddress(0); QAction actOpenMemoryEditor(0); @@ -805,7 +805,7 @@ void WatchTreeView::contextMenuEvent(QContextMenuEvent *ev) } QMenu breakpointMenu; - breakpointMenu.setTitle(tr("Add Data Breakpoint...")); + breakpointMenu.setTitle(tr("Add Data Breakpoint")); breakpointMenu.addAction(&actSetWatchpointAtObjectAddress); breakpointMenu.addAction(&actSetWatchpointAtPointerAddress); breakpointMenu.addAction(&actSetWatchpointAtExpression);