Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.3.3
-
None
-
-
2176a58c5312e2f994d5e345708a3b37e333d668
Description
On OSX 10.4:
Calling exec() on a subclass of QDialog modified with setWindowFlags( Qt::Tool ) results in a normal dialog, as in the following example. Calling show() results in the tool windows as expected.
#include <QtGui>
class AboutDialog : public QDialog
{
Q_OBJECT
public:
AboutDialog(QWidget *parent = 0) : QDialog(parent)
};
#include "main.moc"
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
AboutDialog *myDia = new AboutDialog();
myDia->exec();
// myDia->show();
return app.exec();
}