diff --git a/src/qbrowserlib/swisswebwidget.hxx b/src/qbrowserlib/swisswebwidget.hxx index 9145e02..0588e43 100644 --- a/src/qbrowserlib/swisswebwidget.hxx +++ b/src/qbrowserlib/swisswebwidget.hxx @@ -43,7 +43,7 @@ namespace qbrowserlib { _tools->setParent(t); t->show(); _statusbar->removeWidget(_status); - (int i(_statusbar->count()); i>0;) { + for (int i(_statusbar->count()); i>0;) { qDebug()<<"Rearranging item "<<(i-1)<<_statusbar->itemAt(i-1); w->statusBar()->addWidget(_statusbar->itemAt(--i)->widget()); }