mirror of
https://gitgud.io/wackyideas/aerothemeplasma.git
synced 2024-08-15 00:43:43 +00:00
Removed KeyboardIndicator dependency from SDDM theme
This commit is contained in:
parent
80bdd14de6
commit
08a349c664
2 changed files with 5 additions and 5 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
On Arch, you'll need ```cmake, extra-cmake-modules, qt6-virtualkeyboard, qt6-multimedia, qt6-5compat, plasma5support, kvantum, optionally plymouth ```
|
On Arch, you'll need ```cmake, extra-cmake-modules, qt6-virtualkeyboard, qt6-multimedia, qt6-5compat, kdeplasma-addons, plasma5support, kvantum, optionally plymouth ```
|
||||||
|
|
||||||
### Notes:
|
### Notes:
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ import org.kde.plasma.components 3.0 as PlasmaComponents3
|
||||||
import org.kde.plasma.extras 2.0 as PlasmaExtras
|
import org.kde.plasma.extras 2.0 as PlasmaExtras
|
||||||
import org.kde.kirigami 2.20 as Kirigami
|
import org.kde.kirigami 2.20 as Kirigami
|
||||||
//import org.kde.plasma.workspace.components 2.0 as PW
|
//import org.kde.plasma.workspace.components 2.0 as PW
|
||||||
import org.kde.plasma.private.keyboardindicator as KeyboardIndicator
|
//import org.kde.plasma.private.keyboardindicator as KeyboardIndicator
|
||||||
import QtMultimedia
|
import QtMultimedia
|
||||||
|
|
||||||
Item
|
Item
|
||||||
|
@ -68,10 +68,10 @@ Item
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
KeyboardIndicator.KeyState {
|
/*KeyboardIndicator.KeyState {
|
||||||
id: capsLockState
|
id: capsLockState
|
||||||
key: Qt.Key_CapsLock
|
key: Qt.Key_CapsLock
|
||||||
}
|
}*/
|
||||||
/*FontLoader
|
/*FontLoader
|
||||||
{
|
{
|
||||||
id: mainfont
|
id: mainfont
|
||||||
|
@ -742,7 +742,7 @@ Item
|
||||||
anchors.top: password.bottom
|
anchors.top: password.bottom
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
anchors.topMargin: 2
|
anchors.topMargin: 2
|
||||||
visible: capsLockState.locked && password.visible
|
visible: keyboard.capsLock && password.visible
|
||||||
Image {
|
Image {
|
||||||
id: iconSmall
|
id: iconSmall
|
||||||
width: Kirigami.Units.iconSizes.small;
|
width: Kirigami.Units.iconSizes.small;
|
||||||
|
|
Loading…
Reference in a new issue