From 4c5948973ca2cf94b597b21026a572b10e7453d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Thu, 8 Nov 2012 12:55:51 +0000 Subject: [PATCH] next try; refs #167 --- src/qbrowserlib/swisswebwidget.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); }