From 5a287a1132e787ded443c5fe954d7834447d705a Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Wed, 31 Jan 2018 15:40:09 -0500 Subject: Another large batch of work on Lumina 2. 1. Bypass a Qt bug in multi-session "DISPLAY" number detection 2. Start getting the system tray all setup. Not quite there yet (still some QML issues) 3. Convert all the Menu's to QtControls2 (actually works on multiple screens) --- src-qt5/core/lumina-desktop-unified/src-desktop/RootWindow.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src-qt5/core/lumina-desktop-unified/src-desktop/RootWindow.h') diff --git a/src-qt5/core/lumina-desktop-unified/src-desktop/RootWindow.h b/src-qt5/core/lumina-desktop-unified/src-desktop/RootWindow.h index 0e48c000..41c75a46 100644 --- a/src-qt5/core/lumina-desktop-unified/src-desktop/RootWindow.h +++ b/src-qt5/core/lumina-desktop-unified/src-desktop/RootWindow.h @@ -22,7 +22,10 @@ public: void start(); - WId viewID(){ return root_view->parent()->winId(); } + WId viewID(){ + if(root_view->parent()!=0){ return root_view->parent()->winId(); } + return root_view->winId(); + } public slots: void syncRootSize(); -- cgit