Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
4.5.2
-
None
Description
Adding permanent widget to QStatusBar widget is drawn with frame, When any setStatus() text are displayed on status bar the left edge of the permanent widget's frame is lost.
This is reproducible with following code on linux:
#include <QtGui>
int main(int argc, char **argv)
{
QApplication app(argc,argv);
QMainWindow mw;
QLineEdit *le = new QLineEdit;
le->setStatusTip("a lineedit");
mw.setCentralWidget(le);
mw.statusBar()->addPermanentWidget(new QLabel("hi there")); mw.show(); return app.exec();
}