Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
4.5.1
-
None
Description
On X11, a QDialog with a parent does not have the minimize button even with the flag Qt::WindowMinimizeButtonHint.
Here is an example to reproduce the problem:
#include <QtGui>
int main(int argc, char **argv){
QApplication app(argc, argv);
QMainWindow parent;
QWidget *dialog = new QWidget(&parent);
dialog->setWindowFlags(Qt::Dialog | Qt::WindowMinimizeButtonHint);
parent.show();
dialog->show();
return app.exec();
}
This problem is also reproductible with the Windowflags exemple in Qt.