toolbar-flexibility disabled in quirks-mode; shall I really spend my time on this tosh instead of solving real functional problems?; refs #127

This commit is contained in:
Marc Wäckerlin
2012-04-18 14:32:33 +00:00
parent a508779362
commit 55f151266f

View File

@@ -183,6 +183,8 @@ class Browser: public QMainWindow, protected Ui::Browser {
assert(connect(_search, SIGNAL(returnPressed()),
SLOT(on_actionSearch_triggered())));
if (_quirks) {
_toolbar->setMovable(false);
_toolbar->setFloatable(false);
_toolbar->addAction(actionAddBookmark);
_toolbar->addAction(actionHome);
}