michael-jeulinl/MSVTK — comment on commit e8f158123675b952d4bf0c369bc487f9c906e32d
File: Applications/ECG/msvQECGMainWindow.cxx line 233
By michael-jeulinl:

We always did this setup in the MainWindow.
Ex from SlicerMainWindow:
void qSlicerMainWindow::setupMenuActions()
{
Q_D(qSlicerMainWindow);
[...]
//connect ToolBars actions
connect(d->actionWindowToolbarsModuleSelector, SIGNAL(triggered(bool)),
d->ModuleSelectorToolBar, SLOT(setVisible(bool)));
connect(d->actionWindowToolbarsResetToDefault, SIGNAL(triggered()),
this, SLOT(restoreToolbars()));

// Module ToolBar actions
connect(d->actionModuleHome, SIGNAL(triggered()),
this, SLOT(setHomeModuleCurrent()));
}