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:
Joshua Goins
2023-11-10 12:22:38 -05:00
parent b8e592f8ba
commit 31b4eefadd
2 changed files with 3 additions and 2 deletions

View File

@@ -12,8 +12,6 @@ import org.kde.neochat
LoginStep {
id: root
signal closeDialog
FormCard.FormTextDelegate {
text: i18n("Please wait. This might take a little while.")
}

View File

@@ -28,4 +28,7 @@ ColumnLayout {
/// Clears any error messages currently being shown
signal clearError()
/// Closes the login dialog
signal closeDialog()
}