Add info bar to image viewer

This commit is contained in:
miruka
2020-07-21 17:34:45 -04:00
parent 48eac96976
commit fdc06d81fd
6 changed files with 121 additions and 2 deletions

View File

@@ -406,7 +406,8 @@ Rectangle {
// if forLink is empty, this must be a media event
const title =
event.media_title || utils.urlFileName(event.media_url)
event.media_title ||
utils.urlFileName(forLink || event.media_url)
// The thumbnail/cached path will be the full GIF
const fullMxc =
@@ -423,6 +424,7 @@ Rectangle {
fullTitle: title,
fullMxc: fullMxc,
fullCryptDict: JSON.parse(event.media_crypt_dict),
fullFileSize: event.media_size,
overallSize: Qt.size(
event.media_width ||