forked from qt-creator/qt-creator
Fixes: - Remove unused tool bar container, and unnecessary enum
Details: - I'm still not too happy with the whole construction but anyway. The ToolBarActionContainer was never really used anymore (e.g. you couldn't create one)
This commit is contained in:
@@ -962,17 +962,6 @@ void MainWindow::resetContext()
|
||||
updateContextObject(0);
|
||||
}
|
||||
|
||||
QMenu *MainWindow::createPopupMenu()
|
||||
{
|
||||
QMenu *menu = new QMenu(this);
|
||||
QList<ActionContainer *> containers = m_actionManager->containers();
|
||||
foreach (ActionContainer *c, containers) {
|
||||
if (c->toolBar())
|
||||
menu->addAction(c->toolBar()->toggleViewAction());
|
||||
}
|
||||
return menu;
|
||||
}
|
||||
|
||||
static const char *settingsGroup = "MainWindow";
|
||||
static const char *geometryKey = "Geometry";
|
||||
static const char *colorKey = "Color";
|
||||
|
||||
Reference in New Issue
Block a user