summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authormujx <mujx@users.noreply.github.com>2017-10-01 12:42:14 +0300
committerGitHub <noreply@github.com>2017-10-01 12:42:14 +0300
commit18e9fd6ada3df8fb7e7cbe1b83fbd2a92e4e5d9b (patch)
tree091b71e20c4cb1b86c993da51da842e925707e7f /include
parentDon't move scrollbar to the bottom when it's active (diff)
parentFixes #50. (diff)
downloadnheko-18e9fd6ada3df8fb7e7cbe1b83fbd2a92e4e5d9b.tar.xz
Merge pull request #82 from rokups/fix/#50
Fixes #50.
Diffstat (limited to 'include')
-rw-r--r--include/TrayIcon.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/TrayIcon.h b/include/TrayIcon.h

index 2c9020c1..dec3063b 100644 --- a/include/TrayIcon.h +++ b/include/TrayIcon.h
@@ -32,6 +32,8 @@ public: virtual void paint(QPainter *p, const QRect &rect, QIcon::Mode mode, QIcon::State state); virtual QIconEngine *clone() const; + virtual QList<QSize> availableSizes(QIcon::Mode mode, QIcon::State state) const; + virtual QPixmap pixmap(const QSize& size, QIcon::Mode mode, QIcon::State state); int msgCount = 0;