Get rid of redundant parentheses
authorKevin Ottens <kevin.ottens@nextcloud.com>
Mon, 25 May 2020 18:03:01 +0000 (20:03 +0200)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Mon, 25 May 2020 18:03:01 +0000 (20:03 +0200)
Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
src/gui/tray/Window.qml

index 50a03e0e7af6d257661e8964840cf3277bd1f819..d8fa79dc4aef6b309eeed791bdee2b93c505e6a2 100644 (file)
@@ -603,8 +603,8 @@ Window {
                     Text {\r
                         id: activityTextInfo\r
                         text: (type === "Activity" || type === "Sync") ? displayPath\r
-                            : ((type === "File") ? subject\r
-                            : message)\r
+                            : (type === "File") ? subject\r
+                            : message\r
                         height: (text === "") ? 0 : activityTextTitle.height\r
                         width: Style.activityLabelBaseWidth + ((path === "") ? activityItem.height : 0) + ((link === "") ? activityItem.height : 0) - 8\r
                         elide: Text.ElideRight\r