revert order; refs #167
This commit is contained in:
@@ -41,16 +41,16 @@ 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")));
|
||||||
while (_tools->count()) {
|
while (_tools->count()) {
|
||||||
qDebug()<<"Rearranging tool item "<<(_tools->count()-1)<<_tools->itemAt(_tools->count()-1);
|
qDebug()<<"Rearranging tool item "<<(0)<<_tools->itemAt(0);
|
||||||
t->addWidget(_tools->itemAt(_tools->count()-1)->widget());
|
t->addWidget(_tools->itemAt(0)->widget());
|
||||||
}
|
}
|
||||||
delete _tools; _tools=0;
|
delete _tools; _tools=0;
|
||||||
t->show();
|
t->show();
|
||||||
_statusbar->removeWidget(_status);
|
_statusbar->removeWidget(_status);
|
||||||
delete _status; _status=0;
|
delete _status; _status=0;
|
||||||
while (_statusbar->count()) {
|
while (_statusbar->count()) {
|
||||||
qDebug()<<"Rearranging stat item "<<(_statusbar->count()-1)<<_statusbar->itemAt(_statusbar->count()-1);
|
qDebug()<<"Rearranging stat item "<<(0)<<_statusbar->itemAt(0);
|
||||||
w->statusBar()->addWidget(_statusbar->itemAt(_statusbar->count()-1)->widget());
|
w->statusBar()->addWidget(_statusbar->itemAt(0)->widget());
|
||||||
}
|
}
|
||||||
delete _statusbar; _statusbar=0;
|
delete _statusbar; _statusbar=0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user