next try; refs #167
This commit is contained in:
@@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user