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:
ebc063e
)
inline HexString<T> QChar operator
author
Ivailo Monev
<xakepa10@laimg.moc>
Wed, 1 Apr 2020 23:55:44 +0000
(23:55 +0000)
committer
Ivailo Monev
<xakepa10@laimg.moc>
Wed, 1 Apr 2020 23:55:44 +0000
(23:55 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/gui/styles/qstylehelper_p.h
patch
|
blob
|
history
diff --git
a/src/gui/styles/qstylehelper_p.h
b/src/gui/styles/qstylehelper_p.h
index
0ee8ec5
..
a7fc5fc
100644
(file)
--- a/
src/gui/styles/qstylehelper_p.h
+++ b/
src/gui/styles/qstylehelper_p.h
@@
-79,7
+79,7
@@
template <typename T>
: val(t)
{}
- operator const QChar() const {
+
inline
operator const QChar() const {
const char *c = reinterpret_cast<const char *>(&val);
return QChar(qChecksum(c ,sizeof(T)));
}