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:
7728fe1
)
fix regression since 59a37e52e4cd2510a8fa96afeda26556a5150429
author
Ivailo Monev
<xakepa10@gmail.com>
Mon, 30 Nov 2020 03:20:18 +0000
(
03:20
+0000)
committer
Ivailo Monev
<xakepa10@gmail.com>
Mon, 30 Nov 2020 03:20:18 +0000
(
03:20
+0000)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/tools/uic/cpp/cppwriteinitialization.cpp
patch
|
blob
|
history
diff --git
a/src/tools/uic/cpp/cppwriteinitialization.cpp
b/src/tools/uic/cpp/cppwriteinitialization.cpp
index
c3d1ffa
..
81f48ce
100644
(file)
--- a/
src/tools/uic/cpp/cppwriteinitialization.cpp
+++ b/
src/tools/uic/cpp/cppwriteinitialization.cpp
@@
-2287,8
+2287,11
@@
void WriteInitialization::initializeMenu(DomWidget *w, const QString &/*parentWi
QString WriteInitialization::trCall(DomString *str, const QString &defaultString) const
{
- Q_UNUSED(str);
- return trCall(defaultString);
+ QString value = defaultString;
+ if (str) {
+ value = toString(str);
+ }
+ return trCall(value);
}
QString WriteInitialization::noTrCall(DomString *str, const QString &defaultString) const