From af699eb83eddd981537432ab08a1bbe194e30df0 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Mon, 10 Oct 2022 14:38:29 +0200 Subject: Mark classes as final where possible --- src/TrayIcon.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/TrayIcon.h') diff --git a/src/TrayIcon.h b/src/TrayIcon.h index 554a4a0a..519f9d14 100644 --- a/src/TrayIcon.h +++ b/src/TrayIcon.h @@ -14,7 +14,7 @@ class QAction; class QPainter; -class MsgCountComposedIcon : public QIconEngine +class MsgCountComposedIcon final : public QIconEngine { public: MsgCountComposedIcon(const QString &filename); @@ -36,7 +36,7 @@ private: QIcon icon_; }; -class TrayIcon : public QSystemTrayIcon +class TrayIcon final : public QSystemTrayIcon { Q_OBJECT public: -- cgit 1.5.1