Get rid of screenIndex
authorKevin Ottens <kevin.ottens@nextcloud.com>
Wed, 20 May 2020 18:03:08 +0000 (20:03 +0200)
committerKevin Ottens (Rebase PR Action) <er-vin@users.noreply.github.com>
Mon, 15 Jun 2020 12:32:25 +0000 (12:32 +0000)
commit40824dc42740fd9a6e67f20bbd3dcdc82efbca3c
treec71e80990e86ccb1120517e46fcb8e26d0d3089e
parent6c6dfb15a7d2193b430f55b0deac160e3c4460eb
Get rid of screenIndex

This was leading to the same logic being duplicated several times. It's
fine to return the QScreen* on the QML side directly but wrapped into a
QVariant.

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