Drop dead code for switchUserButton

It is never checked
This commit is contained in:
Nicolas Fella
2024-12-14 17:23:51 +01:00
parent 7bef8c99ec
commit 038a3bb5c8
2 changed files with 0 additions and 4 deletions

View File

@@ -63,9 +63,6 @@ Kirigami.Dialog {
pageStack.pushDialogLayer(Qt.createComponent('org.kde.neochat.login', 'WelcomePage'), {}, {
title: i18nc("@title:window", "Login")
});
if (switchUserButton.checked) {
switchUserButton.checked = false;
}
root.close();
}
Keys.onUpPressed: {

View File

@@ -32,7 +32,6 @@ RowLayout {
onVisibleChanged: {
if (!visible) {
accountsPopup.close();
switchUserButton.checked = false;
}
}
KirigamiComponents.AvatarButton {