[mythtv-commits] Ticket #13006: filenames turned into QUrls should be proper file: URLs
MythTV
noreply at mythtv.org
Thu Mar 2 21:11:09 UTC 2017
#13006: filenames turned into QUrls should be proper file: URLs
--------------------------------------+---------------------
Reporter: brian@… | Owner:
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.28.1
Severity: medium | Keywords:
Ticket locked: 0 |
--------------------------------------+---------------------
QUrl will mangle the left-hand side of a string with a {{{:}}} in it:
For example:
{{{
#include <QString>
#include <QUrl>
#include <iostream>
using namespace std;
main() {
QUrl qurl = QString("This:");
cout << qurl.toDisplayString().toLocal8Bit().constData() << "\n";
}
}}}
produces:
{{{
this:
}}}
Notice it lower-cases the first letter.
We should create proper file:filename URLs for filenames.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13006>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list