diff options
Diffstat (limited to 'tools/xmlpatterns')
-rw-r--r-- | tools/xmlpatterns/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xmlpatterns/main.cpp b/tools/xmlpatterns/main.cpp index 00d41b3..788bb02 100644 --- a/tools/xmlpatterns/main.cpp +++ b/tools/xmlpatterns/main.cpp @@ -213,7 +213,7 @@ static inline QUrl finalizeURI(const QApplicationArgumentParser &parser, { const QString stringURI(parser.value(arg).toString()); - if(parser.has(isURI)) + if (parser.has(isURI) || QDir::isRelativePath(stringURI)) userURI = QUrl(stringURI); else userURI = QUrl::fromLocalFile(stringURI); |