Run qmlformat over everything

This commit is contained in:
Tobias Fella
2024-01-31 22:45:40 +01:00
parent 6029c0d0b3
commit fe52d26f05
126 changed files with 1481 additions and 1183 deletions

View File

@@ -40,9 +40,8 @@ FormCard.FormCardPage {
if (fileDialog) {
return;
}
fileDialog = openFileDialog.createObject(this);
fileDialog.chosen.connect((receivedSource) => {
fileDialog.chosen.connect(receivedSource => {
if (!receivedSource) {
return;
}
@@ -137,7 +136,9 @@ FormCard.FormCardPage {
visible: root.connection !== undefined && root.connection.canChangePassword === false
text: i18n("Your server doesn't support changing your password")
}
FormCard.FormDelegateSeparator { visible: root.connection !== undefined && root.connection.canChangePassword === false }
FormCard.FormDelegateSeparator {
visible: root.connection !== undefined && root.connection.canChangePassword === false
}
FormCard.FormTextFieldDelegate {
id: currentPassword
label: i18n("Current Password:")
@@ -212,7 +213,11 @@ FormCard.FormCardPage {
FormCard.FormButtonDelegate {
id: deactivateAccountButton
text: i18n("Deactivate Account")
onClicked: pageStack.pushDialogLayer("qrc:/org/kde/neochat/qml/ConfirmDeactivateAccountDialog.qml", {connection: root.connection}, {title: i18nc("@title", "Confirm Deactivating Account")})
onClicked: pageStack.pushDialogLayer("qrc:/org/kde/neochat/qml/ConfirmDeactivateAccountDialog.qml", {
connection: root.connection
}, {
title: i18nc("@title", "Confirm Deactivating Account")
})
}
}