mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-26 07:59:35 -05:00
Merge pull request #541 from PhenomRetroShare/Fix_RsLinkCopyToClipBoard
Fix Copy RsLink in Clipboard.
This commit is contained in:
commit
07564c7258
@ -790,9 +790,10 @@ QString RetroShareLink::toString() const
|
||||
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5,0,0)
|
||||
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
|
||||
|
||||
return url.toString();
|
||||
}
|
||||
|
||||
QString RetroShareLink::niceName() const
|
||||
|
Loading…
Reference in New Issue
Block a user