mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
lockscreen: Use temporary fix for black background
This commit is contained in:
parent
664c8933d7
commit
75e5b79103
1 changed files with 13 additions and 0 deletions
|
|
@ -8,6 +8,7 @@
|
|||
import QtQuick 2.12
|
||||
import QtQuick.Controls 2.15
|
||||
import QtQuick.Layouts 1.15
|
||||
import QtGraphicalEffects 1.12
|
||||
|
||||
import org.kde.plasma.core 2.0 as PlasmaCore
|
||||
import org.kde.notificationmanager 1.1 as Notifications
|
||||
|
|
@ -42,6 +43,18 @@ PlasmaCore.ColorScope {
|
|||
passwordBar.textField.forceActiveFocus();
|
||||
}
|
||||
|
||||
// HACK: kscreenlocker doesn't draw the wallpaper (shows up as black)
|
||||
Loader {
|
||||
anchors.fill: parent
|
||||
asynchronous: true
|
||||
sourceComponent: FastBlur {
|
||||
cached: true
|
||||
radius: 0
|
||||
source: wallpaper
|
||||
anchors.fill: parent
|
||||
}
|
||||
}
|
||||
|
||||
// wallpaper blur
|
||||
Loader {
|
||||
anchors.fill: parent
|
||||
|
|
|
|||
Loading…
Reference in a new issue