Commit f705379d authored by Andreas Traczyk's avatar Andreas Traczyk

messageview: fix openFile for data-transfer interactions

Change-Id: Iacb1bf8f540ea3dbd5cd85e28e24c6ad98a953e0
parent cfc1c80e
......@@ -444,7 +444,11 @@ PrivateBridging::retryInteraction(const QString& arg)
PrivateBridging::openFile(const QString& arg)
QUrl fileUrl("file:///" + arg);
bool ok = QDesktopServices::openUrl(fileUrl);
if (!ok) {
qDebug() << "Couldn't open file: " << fileUrl;
return 0;
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