forked from quickshell/quickshell
all/window: use global screeninfo pool for screen getter
This commit is contained in:
parent
9cbd5abd96
commit
3026d3400a
4 changed files with 17 additions and 8 deletions
|
@ -6,6 +6,7 @@
|
|||
#include <qqmlengine.h>
|
||||
#include <qqmlintegration.h>
|
||||
#include <qqmllist.h>
|
||||
#include <qscreen.h>
|
||||
#include <qtmetamacros.h>
|
||||
#include <qtypes.h>
|
||||
#include <qvariant.h>
|
||||
|
@ -60,6 +61,7 @@ public:
|
|||
QuickshellTracked();
|
||||
|
||||
QVector<QuickshellScreenInfo*> screens;
|
||||
QuickshellScreenInfo* screenInfo(QScreen* screen) const;
|
||||
|
||||
static QuickshellTracked* instance();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue