diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-12-28 20:09:08 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-12-28 20:09:08 +0100 |
commit | 5ca98829f7c5bf504e78bd51e6ceb534c023ae05 (patch) | |
tree | 2e624400f17b2b8220431a500e4ffc9f3671e4a7 /src/TrayIcon.h | |
parent | 2866826356b1fb34c2252700487d1f5153004456 (diff) |
Some qt6 prep
Diffstat (limited to 'src/TrayIcon.h')
-rw-r--r-- | src/TrayIcon.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/TrayIcon.h b/src/TrayIcon.h index 1ce7fb0b..207f35df 100644 --- a/src/TrayIcon.h +++ b/src/TrayIcon.h @@ -20,7 +20,11 @@ public: void paint(QPainter *p, const QRect &rect, QIcon::Mode mode, QIcon::State state) override; QIconEngine *clone() const override; - QList<QSize> availableSizes(QIcon::Mode mode, QIcon::State state) const override; + QList<QSize> availableSizes(QIcon::Mode mode, QIcon::State state) +#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) + const +#endif + override; QPixmap pixmap(const QSize &size, QIcon::Mode mode, QIcon::State state) override; int msgCount = 0; |