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:
0f2175a
)
correct signature of QCoreApplication::translate() for QT_NO_TRANSLATION case
author
Ivailo Monev
<xakepa10@gmail.com>
Fri, 21 Aug 2020 15:05:53 +0000
(18:05 +0300)
committer
Ivailo Monev
<xakepa10@gmail.com>
Fri, 21 Aug 2020 15:05:53 +0000
(18:05 +0300)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/core/kernel/qcoreapplication.h
patch
|
blob
|
history
diff --git
a/src/core/kernel/qcoreapplication.h
b/src/core/kernel/qcoreapplication.h
index
65c7088
..
8ecacca
100644
(file)
--- a/
src/core/kernel/qcoreapplication.h
+++ b/
src/core/kernel/qcoreapplication.h
@@
-175,7
+175,7
@@
inline void QCoreApplication::sendPostedEvents() { sendPostedEvents(Q_NULLPTR, 0
#ifdef QT_NO_TRANSLATION
// Simple versions
inline QString QCoreApplication::translate(const char *, const char *sourceText,
- const char *, Encoding encoding
= CodecForTr, int = -1
)
+ const char *, Encoding encoding
, int
)
{
#ifndef QT_NO_TEXTCODEC
if (encoding == UnicodeUTF8)