Move all the position computation on the C++ side
authorKevin Ottens <kevin.ottens@nextcloud.com>
Wed, 20 May 2020 17:36:57 +0000 (19:36 +0200)
committerKevin Ottens (Rebase PR Action) <er-vin@users.noreply.github.com>
Mon, 15 Jun 2020 12:32:25 +0000 (12:32 +0000)
commit6c6dfb15a7d2193b430f55b0deac160e3c4460eb
tree11f425964414e207be70cdc86ce5e24b66e92a40
parent83b36b4ab0a5f70b5f32fe001dd57b580afdba9e
Move all the position computation on the C++ side

The API is just more convenient there, the rect and point types on the
QML side are just pale shadow of their C++ counterparts.

Also improved a bit the constness of the Systray class.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
src/gui/systray.cpp
src/gui/systray.h
src/gui/tray/Window.qml