Qt::WFlags is obsolete in Qt5. Replace it with Qt::WindowFlags.

This change is Qt4/Qt5 neutral.
This commit is contained in:
Mateusz Skowroński
2015-12-15 07:01:09 +01:00
committed by wmayer
parent c275b35d48
commit f48f0f69be
93 changed files with 111 additions and 111 deletions

View File

@@ -76,7 +76,7 @@ private:
* Constructs a VisualInspection as a child of 'parent', with the
* name 'name' and widget flags set to 'f'.
*/
VisualInspection::VisualInspection(QWidget* parent, Qt::WFlags fl)
VisualInspection::VisualInspection(QWidget* parent, Qt::WindowFlags fl)
: QDialog(parent, fl), ui(new Ui_VisualInspection)
{
ui->setupUi(this);

View File

@@ -37,7 +37,7 @@ class VisualInspection : public QDialog
Q_OBJECT
public:
VisualInspection(QWidget* parent = 0, Qt::WFlags fl = 0);
VisualInspection(QWidget* parent = 0, Qt::WindowFlags fl = 0);
~ VisualInspection();
void accept();