mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-05-08 14:33:23 +00:00
feat: switch to qt 6.10.1 (#2057)
* feat: switch to qt 6.10.1 * feat: switch to qt 6.10.1 remove touch
This commit is contained in:
@@ -19,8 +19,13 @@ Window {
|
||||
Connections {
|
||||
target: Qt.application
|
||||
function onStateChanged() {
|
||||
if (Qt.platform.os === "android" && Qt.application.state === Qt.ApplicationActive) {
|
||||
refreshTimer.restart()
|
||||
if (Qt.platform.os === "android") {
|
||||
if (Qt.application.state === Qt.ApplicationActive) {
|
||||
refreshTimer.restart()
|
||||
} else if (Qt.application.state === Qt.ApplicationSuspended ||
|
||||
Qt.application.state === Qt.ApplicationInactive) {
|
||||
console.log("QML: Application going to background, state:", Qt.application.state)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user