OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5196fc
)
construct filepath string via QString::fromLocal8Bit() for consistency in QDeclarativ...
author
Ivailo Monev
<xakepa10@gmail.com>
Wed, 10 Nov 2021 21:10:30 +0000
(23:10 +0200)
committer
Ivailo Monev
<xakepa10@gmail.com>
Wed, 10 Nov 2021 21:10:30 +0000
(23:10 +0200)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/declarative/qml/qdeclarativedirparser.cpp
patch
|
blob
|
history
diff --git
a/src/declarative/qml/qdeclarativedirparser.cpp
b/src/declarative/qml/qdeclarativedirparser.cpp
index
1709c7c
..
9bbaa1a
100644
(file)
--- a/
src/declarative/qml/qdeclarativedirparser.cpp
+++ b/
src/declarative/qml/qdeclarativedirparser.cpp
@@
-90,7
+90,7
@@
bool QDeclarativeDirParser::parse()
_source = QString::fromUtf8(file.readAll());
} else {
QDeclarativeError error;
- error.setDescription(QString::from
Utf8
("module \"$$URI$$\" definition \"%1\" not readable").arg(_filePathSouce));
+ error.setDescription(QString::from
Local8Bit
("module \"$$URI$$\" definition \"%1\" not readable").arg(_filePathSouce));
_errors.prepend(error);
return false;
}