Commit 0946d392 authored by Martin Straka's avatar Martin Straka
Browse files

Content uri instead of file uri

parent 6a0ea5de
<?xml version="1.0" encoding="utf-8"?>
<paths xmlns:android="">
<external-path name="external_files" path="Datovka/Temp/"/>
<file-path name="external_files" path="."/>
\ No newline at end of file
......@@ -242,7 +242,10 @@ void Files::openAttachmentFromPath(const QString &filePath)
if (!QDesktopServices::openUrl(QUrl::fromLocalFile(filePath))) {
QUrl contentUri = QUrl::fromLocalFile(filePath);
if (!QDesktopServices::openUrl(contentUri)) {
tr("Open attachment error"),
tr("There is no application to open this file format."),
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment