mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
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:
committed by
Laurent Trinques
parent
e4f4c1e154
commit
c97a239c29
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user