From b579b49a5ca97e8864bc1696cd772129aef66309 Mon Sep 17 00:00:00 2001 From: Kevin Ottens Date: Mon, 25 May 2020 20:03:01 +0200 Subject: [PATCH] Get rid of redundant parentheses Signed-off-by: Kevin Ottens --- src/gui/tray/Window.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2