Browse Source

Fix QML warnings

Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
Claudio Cambra 3 years ago
parent
commit
0a89bf2335
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/gui/tray/Window.qml

+ 3 - 3
src/gui/tray/Window.qml

@@ -41,7 +41,7 @@ Window {
             hide();
             Systray.isOpen = false;
         }
-   }
+    }
 
     onClosing: Systray.isOpen = false
 
@@ -55,7 +55,7 @@ Window {
 
     Connections {
         target: UserModel
-        function onNewUserSelected() {
+        function onCurrentUserChanged() {
             accountMenu.close();
             syncStatus.model.load();
         }
@@ -612,7 +612,7 @@ Window {
                             ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
 
                             data: WheelHandler {
-                                target: appMenuScrollView.contentItem
+                                target: appsMenuScrollView.contentItem
                             }
                             ListView {
                                 id: appsMenuListView