Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Weilbach <felix.weilbach@nextcloud.com>2021-08-20 19:27:25 +0300
committerFelix Weilbach (Rebase PR Action) <felix.weilbach@t-online.de>2021-09-03 14:48:42 +0300
commit8a2097e7b9689048085f89375f20b5f549f10991 (patch)
tree10f077b5c3dbccaeb7014c4ccfed1aabf2aea5f7 /src/gui/tray/Window.qml
parentc07aec320a15523838c7fa002ad857f67f20fc63 (diff)
Implicitly defined onFoo properties in Connections are deprecated
Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
Diffstat (limited to 'src/gui/tray/Window.qml')
-rw-r--r--src/gui/tray/Window.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/tray/Window.qml b/src/gui/tray/Window.qml
index 39c08ffab..1e0d8436b 100644
--- a/src/gui/tray/Window.qml
+++ b/src/gui/tray/Window.qml
@@ -47,14 +47,14 @@ Window {
Connections {
target: UserModel
- onNewUserSelected: {
+ function onNewUserSelected() {
accountMenu.close();
}
}
Connections {
target: Systray
- onShowWindow: {
+ function onShowWindow() {
accountMenu.close();
appsMenu.close();
Systray.positionWindow(trayWindow);
@@ -66,7 +66,7 @@ Window {
Systray.setOpened();
UserModel.fetchCurrentActivityModel();
}
- onHideWindow: {
+ function onHideWindow() {
trayWindow.hide();
Systray.setClosed();
}