absolutePath was undefined.
authorCamila <hello@camila.codes>
Tue, 14 Jun 2022 15:25:01 +0000 (17:25 +0200)
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>
Thu, 23 Jun 2022 11:21:00 +0000 (11:21 +0000)
It was not part of the model, the correct one was path (PathRole).

Signed-off-by: Camila <hello@camila.codes>
src/gui/tray/ActivityItem.qml

index e293eb64cc5c15895bc959ecf8611c4c63e8165e..6e7d42f273156abaa884036283c22968772b11a8 100644 (file)
@@ -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)
         }