diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2024-03-14 01:00:31 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2024-03-14 01:01:12 +0100 |
commit | d2009428b65047ec26492f0ff2a1c21f39647a02 (patch) | |
tree | edba41c915b537278d876c35b6a511b8c14d89a2 /resources/qml/dialogs/LogoutDialog.qml | |
parent | Merge pull request #1692 from jjdredd/patch-1 (diff) | |
download | nheko-d2009428b65047ec26492f0ff2a1c21f39647a02.tar.xz |
workaround broken platform dialogs on macos
See https://bugreports.qt.io/browse/QTBUG-102078
Diffstat (limited to 'resources/qml/dialogs/LogoutDialog.qml')
-rw-r--r-- | resources/qml/dialogs/LogoutDialog.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/qml/dialogs/LogoutDialog.qml b/resources/qml/dialogs/LogoutDialog.qml index e79a3e0d..fa5dd9c5 100644 --- a/resources/qml/dialogs/LogoutDialog.qml +++ b/resources/qml/dialogs/LogoutDialog.qml @@ -14,5 +14,7 @@ P.MessageDialog { modality: Qt.WindowModal flags: Qt.Tool | Qt.WindowStaysOnTopHint | Qt.WindowCloseButtonHint | Qt.WindowTitleHint buttons: P.MessageDialog.Ok | P.MessageDialog.Cancel - onAccepted: Nheko.logout() + // Broken on macos, see https://bugreports.qt.io/browse/QTBUG-102078 + //onAccepted: Nheko.logout() + onOkClicked: Nheko.logout() } |