Fix opening files externally
This commit is contained in:
@@ -1269,7 +1269,7 @@ void NeoChatRoom::openEventMediaExternally(const QString &eventId)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
downloadFile(eventId,
|
downloadFile(eventId,
|
||||||
QUrl(QStandardPaths::writableLocation(QStandardPaths::CacheLocation) + u'/'
|
QUrl(u"file:"_s + QStandardPaths::writableLocation(QStandardPaths::CacheLocation) + u'/'
|
||||||
+ evtIt->event()->id().replace(u':', u'_').replace(u'/', u'_').replace(u'+', u'_') + fileNameToDownload(eventId)));
|
+ evtIt->event()->id().replace(u':', u'_').replace(u'/', u'_').replace(u'+', u'_') + fileNameToDownload(eventId)));
|
||||||
connect(
|
connect(
|
||||||
this,
|
this,
|
||||||
|
|||||||
Reference in New Issue
Block a user