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:
con
2009-01-14 11:25:00 +01:00
parent 49c5ef262c
commit 08e7b0f447
6 changed files with 31 additions and 278 deletions

View File

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