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:
91a74c0
)
use proper QString constructor in QCUPSSupport::unicodeString()
author
Ivailo Monev
<xakepa10@gmail.com>
Mon, 28 Feb 2022 17:26:57 +0000
(19:26 +0200)
committer
Ivailo Monev
<xakepa10@gmail.com>
Mon, 28 Feb 2022 17:26:57 +0000
(19:26 +0200)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/gui/painting/qcups.cpp
patch
|
blob
|
history
diff --git
a/src/gui/painting/qcups.cpp
b/src/gui/painting/qcups.cpp
index
4629d55
..
965ef42
100644
(file)
--- a/
src/gui/painting/qcups.cpp
+++ b/
src/gui/painting/qcups.cpp
@@
-259,7
+259,7
@@
QString QCUPSSupport::unicodeString(const char *s)
#ifndef QT_NO_TEXTCODEC
return codec->toUnicode(s);
#else
- return Q
Latin1String
(s);
+ return Q
String::fromLatin1
(s);
#endif
}