Merge pull request #541 from PhenomRetroShare/Fix_RsLinkCopyToClipBoard

Fix Copy RsLink in Clipboard.
This commit is contained in:
Cyril Soler 2016-10-23 23:12:22 +02:00 committed by GitHub
commit 07564c7258

View File

@ -790,9 +790,10 @@ QString RetroShareLink::toString() const
#if QT_VERSION >= QT_VERSION_CHECK(5,0,0) #if QT_VERSION >= QT_VERSION_CHECK(5,0,0)
url.setQuery(urlQuery); url.setQuery(urlQuery);
return url.toString(QUrl::EncodeSpaces | QUrl::EncodeUnicode);
#else
return url.toString().replace(" ","%20");//Seems to be already done with Qt4 but to be sure.
#endif #endif
return url.toString();
} }
QString RetroShareLink::niceName() const QString RetroShareLink::niceName() const