Update no QR code found dialog

This commit is contained in:
Dag Heyman 2017-03-15 10:09:37 +01:00
parent 1d33a45927
commit eaa54d96d0
No known key found for this signature in database
GPG Key ID: 06FC004369E7D338
3 changed files with 12 additions and 10 deletions

View File

@ -148,12 +148,8 @@ DefaultDialog {
}
}
MessageDialog {
NoQrDialog {
id: noQr
icon: StandardIcon.Warning
title: qsTr("No QR code found")
text: qsTr("Could not find a QR code.")
standardButtons: StandardButton.Ok
}
MessageDialog {

View File

@ -90,12 +90,8 @@ DefaultDialog {
}
}
MessageDialog {
NoQrDialog {
id: noQr
icon: StandardIcon.Warning
title: qsTr("No QR code found")
text: qsTr("Could not find a QR code.")
standardButtons: StandardButton.Ok
}
MessageDialog {

10
qml/NoQrDialog.qml Normal file
View File

@ -0,0 +1,10 @@
import QtQuick 2.5
import QtQuick.Dialogs 1.2
MessageDialog {
id: noQr
icon: StandardIcon.Warning
title: qsTr("No QR code found")
text: qsTr("Could not find a QR code. Make sure the QR code is fully visible on the screen.")
standardButtons: StandardButton.Ok
}