From: Kevin Ottens Date: Mon, 25 May 2020 18:03:01 +0000 (+0200) Subject: Get rid of redundant parentheses X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~222^2^2~198^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b579b49a5ca97e8864bc1696cd772129aef66309;p=nextcloud-desktop.git Get rid of redundant parentheses Signed-off-by: Kevin Ottens --- diff --git a/src/gui/tray/Window.qml b/src/gui/tray/Window.qml index 50a03e0e7..d8fa79dc4 100644 --- a/src/gui/tray/Window.qml +++ b/src/gui/tray/Window.qml @@ -603,8 +603,8 @@ Window { Text { id: activityTextInfo text: (type === "Activity" || type === "Sync") ? displayPath - : ((type === "File") ? subject - : message) + : (type === "File") ? subject + : message height: (text === "") ? 0 : activityTextTitle.height width: Style.activityLabelBaseWidth + ((path === "") ? activityItem.height : 0) + ((link === "") ? activityItem.height : 0) - 8 elide: Text.ElideRight