diff --git a/src/plugins/debugger/watchwindow.cpp b/src/plugins/debugger/watchwindow.cpp index cd76bbe78c8..39e1ecfaddf 100644 --- a/src/plugins/debugger/watchwindow.cpp +++ b/src/plugins/debugger/watchwindow.cpp @@ -594,7 +594,7 @@ void WatchTreeView::fillFormatMenu(QMenu *formatMenu, const QModelIndex &mi) QString msg = (individualFormat == AutomaticFormat && typeFormat != AutomaticFormat) ? tr("Use Format for Type (Currently %1)") .arg(WatchHandler::nameForFormat(typeFormat)) - : tr("Use Display Format Based on Type") + QLatin1Char(' '); + : QString(tr("Use Display Format Based on Type") + QLatin1Char(' ')); QAction *clearIndividualFormatAction = formatMenu->addAction(spacer + msg); clearIndividualFormatAction->setCheckable(true);