mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 08:10:52 +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
@@ -36,7 +36,7 @@ class QETPrintPreviewDialog : public QDialog {
|
||||
|
||||
// constructors, destructor
|
||||
public:
|
||||
QETPrintPreviewDialog(QETProject *, QPrinter *, QWidget * = nullptr, Qt::WindowFlags = nullptr);
|
||||
QETPrintPreviewDialog(QETProject *, QPrinter *, QWidget * = nullptr, Qt::WindowFlags = Qt::Widget);
|
||||
~QETPrintPreviewDialog() override;
|
||||
private:
|
||||
QETPrintPreviewDialog(const QETPrintPreviewDialog &);
|
||||
|
||||
Reference in New Issue
Block a user