Qt::WFlags is obsolete in Qt5. Replace it with Qt::WindowFlags.
This change is Qt4/Qt5 neutral.
This commit is contained in:
committed by
wmayer
parent
c275b35d48
commit
f48f0f69be
@@ -79,7 +79,7 @@ bool UnitTestDialog::hasInstance()
|
||||
* The dialog will by default be modeless, unless you set 'modal' to
|
||||
* TRUE to construct a modal dialog.
|
||||
*/
|
||||
UnitTestDialog::UnitTestDialog(QWidget* parent, Qt::WFlags f)
|
||||
UnitTestDialog::UnitTestDialog(QWidget* parent, Qt::WindowFlags f)
|
||||
: QDialog(parent, f)
|
||||
{
|
||||
this->setupUi(this);
|
||||
|
||||
@@ -56,7 +56,7 @@ public:
|
||||
static bool hasInstance();
|
||||
|
||||
protected:
|
||||
UnitTestDialog(QWidget* parent = 0, Qt::WFlags f = 0);
|
||||
UnitTestDialog(QWidget* parent = 0, Qt::WindowFlags f = 0);
|
||||
~UnitTestDialog();
|
||||
void setProgressColor(const QColor& col);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user