[education/rkward] rkward/windows: Fix some cppcheck warnings

Thomas Friedrichsmeier null at kde.org
Mon Jun 24 22:13:02 BST 2024


Git commit ec66cae9b652cf67e0eee60e8562f441a883e6e7 by Thomas Friedrichsmeier.
Committed on 21/06/2024 at 20:55.
Pushed by tfry into branch 'master'.

Fix some cppcheck warnings

M  +2    -2    rkward/windows/rkpdfwindow.h

https://invent.kde.org/education/rkward/-/commit/ec66cae9b652cf67e0eee60e8562f441a883e6e7

diff --git a/rkward/windows/rkpdfwindow.h b/rkward/windows/rkpdfwindow.h
index 2d50930d2..fe4fc75bb 100644
--- a/rkward/windows/rkpdfwindow.h
+++ b/rkward/windows/rkpdfwindow.h
@@ -15,8 +15,8 @@ SPDX-License-Identifier: GPL-2.0-or-later
 class RKPDFWindow : public RKMDIWindow {
 	Q_OBJECT
 public:
-	RKPDFWindow(QWidget *parent);
-	~RKPDFWindow();
+	explicit RKPDFWindow(QWidget *parent);
+	~RKPDFWindow() override;
 	void openURL(const QUrl &url);
 	QUrl url() const;
 	static KParts::ReadOnlyPart* getOkularPart(const QVariantList &args=QVariantList());



More information about the rkward-tracker mailing list