From f23ebca9ad3ced97a0bc3ab0cc3ecaa0d52849f9 Mon Sep 17 00:00:00 2001 From: Papoteur Date: Sat, 20 Jun 2020 08:12:44 +0200 Subject: Doesn't display live as user --- qml/mw-ui.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qml') diff --git a/qml/mw-ui.qml b/qml/mw-ui.qml index 384037d..aaaa5da 100644 --- a/qml/mw-ui.qml +++ b/qml/mw-ui.qml @@ -87,7 +87,7 @@ Rectangle { //: the %1 will be replaced with the user name anchors.horizontalCenter: parent.horizontalCenter horizontalAlignment: TextInput.AlignHCenter - text: qsTr("Welcome to Mageia, %1").arg(user)+'\n' + text: (user == 'live' ? qsTr("Welcome to Mageia") : qsTr("Welcome to Mageia, %1").arg(user)+'\n') font.weight: Font.DemiBold font.pixelSize: Qt.application.font.pixelSize * 1.5 color: "white" -- cgit v1.2.1