From dccc87d8af42c6bde7f377b5647b1118e59f4b58 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Wed, 23 Dec 2020 19:01:04 +0200 Subject: [PATCH] Cppcheck warning. --- src/libs/vlayout/vprintlayout.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);