diff --git a/src/infobar.h b/src/infobar.h --- a/src/infobar.h +++ b/src/infobar.h @@ -32,26 +32,28 @@ class InfoBar : public Q3DockWindow { - Q_OBJECT -public: + Q_OBJECT + public: + + InfoBar(void) : Q3DockWindow() { + + virtleaf = new QLabel(); + SetText("undefined"); - InfoBar(void) : Q3DockWindow() { - - virtleaf = new QLabel(); - SetText("undefined"); - - setHorizontalStretchable(true); - boxLayout()->addStretch(); - boxLayout()->addWidget(virtleaf);//, Qt::AlignHCenter); - boxLayout()->addStretch(); - } - - void SetText(QString text) { - virtleaf->setText(QString("