fix deprecated warning Qt::WindowFlags = nullptr

Use default constructor instead

Qt::Widget 0x00000000
This is the default type for QWidget.
Widgets of this type are child widgets if they have a parent,
and independent windows if they have no parent.
See also Qt::Window and Qt::SubWindow.
This commit is contained in:
Simon De Backer
2020-06-09 23:06:31 +02:00
committed by Laurent Trinques
parent e4f4c1e154
commit c97a239c29
3 changed files with 3 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ class QETMainWindow : public QMainWindow {
// constructor, destructor
public:
QETMainWindow(QWidget * = nullptr, Qt::WindowFlags = nullptr);
QETMainWindow(QWidget * = nullptr, Qt::WindowFlags = Qt::Widget);
~QETMainWindow() override;
// methods