Fix TrayMenu crash after display wake. Add checks if screen exists, else set scaling to 1.0
TrayMenu: Replace PopupPanel with NPanel (for better loading & to prevent QS crash) Overview, Background etc: add screen checks, if it doesnt exist set scaling to 1.0
This commit is contained in:
parent
714f6c058f
commit
51f1923e22
9 changed files with 119 additions and 137 deletions
|
|
@ -16,6 +16,7 @@ import qs.Commons
|
|||
import qs.Modules.Launcher
|
||||
import qs.Modules.Background
|
||||
import qs.Modules.Bar
|
||||
import qs.Modules.Bar.Extras
|
||||
import qs.Modules.BluetoothPanel
|
||||
import qs.Modules.Calendar
|
||||
import qs.Modules.Dock
|
||||
|
|
@ -99,6 +100,11 @@ ShellRoot {
|
|||
objectName: "archUpdaterPanel"
|
||||
}
|
||||
|
||||
TrayMenu {
|
||||
id: trayMenuPanel
|
||||
objectName: "trayMenu"
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
// Save a ref. to our lockScreen so we can access it easily
|
||||
PanelService.lockScreen = lockScreen
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue