Fix: Cleaned up some code.

This commit is contained in:
Keyitdev
2024-12-18 01:13:04 +01:00
parent a7dd8a931e
commit 95d664e483
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ Column {
Label { Label {
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
font.pointSize: config.HeaderText !=="" ? root.font.pointSize * 3 : 0 font.pointSize: root.font.pointSize * 3
color: config.HeaderTextColor color: config.HeaderTextColor
renderType: Text.QtRendering renderType: Text.QtRendering
text: config.HeaderText text: config.HeaderText
+1 -1
View File
@@ -11,7 +11,7 @@ Column {
id: inputContainer id: inputContainer
Layout.fillWidth: true Layout.fillWidth: true
property Control exposeSession: sessionSelect.exposeSession property ComboBox exposeSession: sessionSelect.exposeSession
property bool failed property bool failed
Item { Item {
+1 -1
View File
@@ -11,7 +11,7 @@ ColumnLayout {
id: formContainer id: formContainer
SDDM.TextConstants { id: textConstants } SDDM.TextConstants { id: textConstants }
property int p: config.ScreenPadding property int p: config.ScreenPadding == "" ? 0 : config.ScreenPadding
property string a: config.FormPosition property string a: config.FormPosition
Clock { Clock {
+1 -1
View File
@@ -14,7 +14,7 @@ Item {
property var selectedSession: selectSession.currentIndex property var selectedSession: selectSession.currentIndex
property string textConstantSession property string textConstantSession
property int loginButtonWidth property int loginButtonWidth
property Control exposeSession: selectSession property ComboBox exposeSession: selectSession
ComboBox { ComboBox {
id: selectSession id: selectSession
+1 -1
View File
@@ -16,7 +16,7 @@ RowLayout {
property var suspend: ["Suspend", config.TranslateSuspend || textConstants.suspend, sddm.canSuspend] property var suspend: ["Suspend", config.TranslateSuspend || textConstants.suspend, sddm.canSuspend]
property var hibernate: ["Hibernate", config.TranslateHibernate || textConstants.hibernate, sddm.canHibernate] property var hibernate: ["Hibernate", config.TranslateHibernate || textConstants.hibernate, sddm.canHibernate]
property Control exposedSession property ComboBox exposedSession
Repeater { Repeater {