next try; refs #167

master
Marc Wäckerlin 12 years ago
parent 616a6bde2e
commit da18a1a127
  1. 5
      src/qbrowserlib/swisswebwidget.hxx

@ -41,9 +41,10 @@ namespace qbrowserlib {
QToolBar* t(w->addToolBar(trUtf8("Browser Tools", QToolBar* t(w->addToolBar(trUtf8("Browser Tools",
"name of the browser's toolbar"))); "name of the browser's toolbar")));
_tools->setParent(t); _tools->setParent(t);
t->show();
_statusbar->removeWidget(_status); _statusbar->removeWidget(_status);
for (int i(_statusbar->count()); i>0;) { (int i(_statusbar->count()); i>0;) {
qDebug()<<"Rearranging item "<<(i-1)<<_statusbar->itemAt(--i); qDebug()<<"Rearranging item "<<(i-1)<<_statusbar->itemAt(i-1);
w->statusBar()->addWidget(_statusbar->itemAt(--i)->widget()); w->statusBar()->addWidget(_statusbar->itemAt(--i)->widget());
} }
} }

Loading…
Cancel
Save