diff --git a/retroshare-gui/src/gui/common/RsUrlHandler.cpp b/retroshare-gui/src/gui/common/RsUrlHandler.cpp index 47b757446..e2c3cd092 100644 --- a/retroshare-gui/src/gui/common/RsUrlHandler.cpp +++ b/retroshare-gui/src/gui/common/RsUrlHandler.cpp @@ -29,11 +29,12 @@ bool RsUrlHandler::openUrl(const QUrl& url) { if(url.scheme() == QString("file") && url.toLocalFile().endsWith("."+RsCollectionFile::ExtensionString)) { - try + RsCollectionFile collection ; + if(collection.load(url.toLocalFile())) { - RsCollectionFile(url.toLocalFile()).downloadFiles() ; + collection.downloadFiles() ; + return true; } - return true; } return QDesktopServices::openUrl(url) ; }