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 <hjk@theqtcompany.com>
This commit is contained in:
Robert Loehning
2015-06-12 16:53:51 +02:00
parent f967b58e87
commit 1d353e6a1f

View File

@@ -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);