diff --git a/src/libs/vlayout/vprintlayout.h b/src/libs/vlayout/vprintlayout.h index 46e1033f2..f4cc8e12c 100644 --- a/src/libs/vlayout/vprintlayout.h +++ b/src/libs/vlayout/vprintlayout.h @@ -44,8 +44,8 @@ class VPrintLayout : public QObject { Q_OBJECT public: - VPrintLayout(QObject *parent = nullptr); - ~VPrintLayout(); + explicit VPrintLayout(QObject *parent = nullptr); + virtual ~VPrintLayout(); auto FileName() const -> QString; void SetFileName(const QString &fileName);