From: Camila Date: Tue, 14 Jun 2022 15:25:01 +0000 (+0200) Subject: absolutePath was undefined. X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~15^2~148^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=55d6035f1ecf39a6b5ff262791981405de28c7fa;p=nextcloud-desktop.git absolutePath was undefined. It was not part of the model, the correct one was path (PathRole). Signed-off-by: Camila --- diff --git a/src/gui/tray/ActivityItem.qml b/src/gui/tray/ActivityItem.qml index 68a153510..bc591d0f5 100644 --- a/src/gui/tray/ActivityItem.qml +++ b/src/gui/tray/ActivityItem.qml @@ -79,7 +79,8 @@ MouseArea { adjustedHeaderColor: root.adjustedHeaderColor - onShareButtonClicked: Systray.openShareDialog(model.displayPath, model.absolutePath) + onShareButtonClicked: Systray.openShareDialog(model.displayPath, model.path) + onDismissButtonClicked: activityModel.slotTriggerDismiss(model.index) }