Move closeDialog signal from Loading to LoginStep
This prevents errors because we try to connect to a non-existent signal if the step is anything but Loading.
This commit is contained in:
@@ -12,8 +12,6 @@ import org.kde.neochat
|
|||||||
LoginStep {
|
LoginStep {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
signal closeDialog
|
|
||||||
|
|
||||||
FormCard.FormTextDelegate {
|
FormCard.FormTextDelegate {
|
||||||
text: i18n("Please wait. This might take a little while.")
|
text: i18n("Please wait. This might take a little while.")
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,4 +28,7 @@ ColumnLayout {
|
|||||||
|
|
||||||
/// Clears any error messages currently being shown
|
/// Clears any error messages currently being shown
|
||||||
signal clearError()
|
signal clearError()
|
||||||
|
|
||||||
|
/// Closes the login dialog
|
||||||
|
signal closeDialog()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user