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:
3055ae3
)
require all arguments for replaceArgEscapes() function
author
Ivailo Monev
<xakepa10@gmail.com>
Thu, 9 Sep 2021 01:25:33 +0000
(
04:25
+0300)
committer
Ivailo Monev
<xakepa10@gmail.com>
Thu, 9 Sep 2021 01:25:33 +0000
(
04:25
+0300)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/core/tools/qstring.cpp
patch
|
blob
|
history
diff --git
a/src/core/tools/qstring.cpp
b/src/core/tools/qstring.cpp
index
6d27290
..
45865f0
100644
(file)
--- a/
src/core/tools/qstring.cpp
+++ b/
src/core/tools/qstring.cpp
@@
-5657,7
+5657,7
@@
static ArgEscapeData findArgEscapes(const QString &s)
}
static QString replaceArgEscapes(const QString &s, const ArgEscapeData &d, int field_width,
- const QString &arg, const QString &larg, const QChar &fillChar
= QLatin1Char(' ')
)
+ const QString &arg, const QString &larg, const QChar &fillChar)
{
const QChar *uc_begin = s.unicode();
const QChar *uc_end = uc_begin + s.length();