mirror of
https://github.com/HenkKalkwater/sddm-nx
synced 2024-11-16 08:25:18 +00:00
Don't show error messages on non-main screen
This commit is contained in:
parent
4db8980d83
commit
bf79c1c1ee
5
Main.qml
5
Main.qml
|
@ -1,4 +1,4 @@
|
||||||
import QtQuick 2.0
|
import QtQuick 2.7
|
||||||
//import QtGamepad 1.0
|
//import QtGamepad 1.0
|
||||||
import SddmComponents 2.0
|
import SddmComponents 2.0
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ Rectangle {
|
||||||
|
|
||||||
SequentialAnimation {
|
SequentialAnimation {
|
||||||
id: startupAnim
|
id: startupAnim
|
||||||
running: true
|
running: _userSelector != null
|
||||||
ColorAnimation {
|
ColorAnimation {
|
||||||
target: root
|
target: root
|
||||||
property: "color"
|
property: "color"
|
||||||
|
@ -71,6 +71,7 @@ Rectangle {
|
||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
target: sddm
|
target: sddm
|
||||||
|
enabled: _userSelector != null
|
||||||
onLoginFailed: {
|
onLoginFailed: {
|
||||||
errorDialog.show()
|
errorDialog.show()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue