diff options
author | Kevin Ottens <kevin.ottens@nextcloud.com> | 2020-05-20 22:36:08 +0300 |
---|---|---|
committer | Kevin Ottens (Rebase PR Action) <er-vin@users.noreply.github.com> | 2020-06-15 15:32:25 +0300 |
commit | 5848a1575b40075c6df4474727cf61934fb9d62b (patch) | |
tree | ce065adc6b2337aab70807ccd90c4925295a6c2c /src/gui/systray.h | |
parent | 40824dc42740fd9a6e67f20bbd3dcdc82efbca3c (diff) |
Make the reference point independent of the window
This leads to simplifying the computation code quite a bit as well.
Indeed we're separating concern between what is window size dependent or
not and that shows.
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
Diffstat (limited to 'src/gui/systray.h')
-rw-r--r-- | src/gui/systray.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/systray.h b/src/gui/systray.h index 634d0a154..feb0771aa 100644 --- a/src/gui/systray.h +++ b/src/gui/systray.h @@ -85,7 +85,7 @@ private: QScreen *currentScreen() const; QRect currentScreenRect() const; - QPoint computeWindowReferencePoint(int width, int height) const; + QPoint computeWindowReferencePoint() const; bool _isOpen = false; bool _syncIsPaused = false; |