Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamila <hello@camila.codes>2022-06-14 18:25:01 +0300
committerCamila <hello@camila.codes>2022-06-23 11:10:55 +0300
commit55d6035f1ecf39a6b5ff262791981405de28c7fa (patch)
tree6be20fdd00b8bd2d4065b28871ad8514e58a8810 /src/gui/tray/ActivityItem.qml
parentd5d145df2d7e547f54a7101564b88688b4056f71 (diff)
absolutePath was undefined.
It was not part of the model, the correct one was path (PathRole). Signed-off-by: Camila <hello@camila.codes>
Diffstat (limited to 'src/gui/tray/ActivityItem.qml')
-rw-r--r--src/gui/tray/ActivityItem.qml3
1 files changed, 2 insertions, 1 deletions
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)
}