Simplify tray window positioning
authorStephan Beyer <s-beyer@gmx.net>
Tue, 23 Jun 2020 09:20:30 +0000 (11:20 +0200)
committerKevin Ottens (Rebase PR Action) <er-vin@users.noreply.github.com>
Fri, 26 Jun 2020 12:03:26 +0000 (12:03 +0000)
commit080505ef4637faa1a0cc11c75d46af1b9e6270bc
tree8dba59e53080a4252f90fe5bf6d9a7bdf6a814fe
parentafa52679320acdda15c5aece22eb050624413a98
Simplify tray window positioning

The Qml position setting code is moved to C++, which allowed to get rid
of the currentScreenIndex() method (which seemed to be just a detour to
pass the screen from C++ to Qml).

Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
src/gui/systray.cpp
src/gui/systray.h
src/gui/tray/Window.qml