Web lists-archives.com

Re: [PATCH 1/2] Fix URL parsing

Hi Thiago,

On 5/28/2016 3:01 PM, Thiago Macieira wrote:
> Em sábado, 28 de maio de 2016, às 01:08:24 BRT, Arno Moeller escreveu:
>> As it seems, QUrl does not know about rdp://, so url.scheme() is empty.
>> The old code tried to "fix" it by replacing the scheme with vnc://,
>> because, as the comment stated, it was default in kde3.
> That doesn't make sense. QUrl does know about *any* schemes except "file", 
> which means it recognises them all.

Passing rdp://am@ to
QUrl url = QUrl::fromLocalFile(args.at(i))
with args.at(i) being rdp://, I end up with url being

Screenshot from QtCreator attached... (a picture says more than 1000 words)


Attachment: qurl.png
Description: PNG image