mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-03 22:56:49 +00:00
fix(ui/modules/Linphone/Notifications/NotificationReceivedFileMessage): open folder if no handler
This commit is contained in:
parent
94ebade4ed
commit
d6d2b19620
1 changed files with 4 additions and 1 deletions
|
|
@ -71,7 +71,10 @@ Notification {
|
|||
hoverEnabled: true
|
||||
|
||||
onClicked: notification._close(function () {
|
||||
Qt.openUrlExternally(Utils.getUriFromSystemPath(notification._fileUri))
|
||||
var uri = Utils.getUriFromSystemPath(notification._fileUri)
|
||||
if (!Qt.openUrlExternally(uri)) {
|
||||
Qt.openUrlExternally(Utils.dirname(uri))
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue