absolutePath was undefined.
authorCamila <hello@camila.codes>
Tue, 14 Jun 2022 15:25:01 +0000 (17:25 +0200)
committerCamila <hello@camila.codes>
Thu, 23 Jun 2022 08:10:55 +0000 (10:10 +0200)
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 68a15351085aed0253380537e88e7703a0f301c4..bc591d0f5f226f684eefbc4647a4fc4b36326385 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)
         }