Commit 86898dd9 authored by Tomaz Canabrava's avatar Tomaz Canabrava

Translate the names of the Views

We where passing the QActions untranslated.
Signed-off-by: 's avatarTomaz Canabrava <tomaz.canabrava@intel.com>
parent 99b9229b
......@@ -334,7 +334,7 @@ void MainWindow::_buildCommonWidgets(void)
const char* pDockWidgetName = rgDockWidgetNames[i];
// Add to menu
QAction* action = new QAction(pDockWidgetName, NULL);
QAction* action = new QAction(tr(pDockWidgetName), NULL);
action->setCheckable(true);
action->setData(pDockWidgetName);
connect(action, &QAction::triggered, this, &MainWindow::_showDockWidgetAction);
......
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