From db352a329bc4c0e1a2c2d3fe988030f4a859f95a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Fri, 9 Nov 2012 07:20:15 +0000 Subject: [PATCH] revert order; refs #167 --- src/qbrowserlib/swisswebwidget.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/qbrowserlib/swisswebwidget.hxx b/src/qbrowserlib/swisswebwidget.hxx index 65e7417..ef0558f 100644 --- a/src/qbrowserlib/swisswebwidget.hxx +++ b/src/qbrowserlib/swisswebwidget.hxx @@ -41,16 +41,16 @@ namespace qbrowserlib { QToolBar* t(w->addToolBar(trUtf8("Browser Tools", "name of the browser's toolbar"))); while (_tools->count()) { - qDebug()<<"Rearranging tool item "<<(_tools->count()-1)<<_tools->itemAt(_tools->count()-1); - t->addWidget(_tools->itemAt(_tools->count()-1)->widget()); + qDebug()<<"Rearranging tool item "<<(0)<<_tools->itemAt(0); + t->addWidget(_tools->itemAt(0)->widget()); } delete _tools; _tools=0; t->show(); _statusbar->removeWidget(_status); delete _status; _status=0; while (_statusbar->count()) { - qDebug()<<"Rearranging stat item "<<(_statusbar->count()-1)<<_statusbar->itemAt(_statusbar->count()-1); - w->statusBar()->addWidget(_statusbar->itemAt(_statusbar->count()-1)->widget()); + qDebug()<<"Rearranging stat item "<<(0)<<_statusbar->itemAt(0); + w->statusBar()->addWidget(_statusbar->itemAt(0)->widget()); } delete _statusbar; _statusbar=0; }