mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 19:02:59 +00:00
Revert "use uninitialized buffer in qt_ACE_do() function"
This reverts commit c8b043ee5e
.
This commit is contained in:
parent
56d17983ac
commit
3e5066511e
1 changed files with 2 additions and 1 deletions
|
@ -3310,7 +3310,8 @@ static QString qt_ACE_do(const QString &domain, AceOperation op)
|
|||
if (domain.isEmpty())
|
||||
return domain;
|
||||
|
||||
QString result(domain.length(), Qt::Uninitialized);
|
||||
QString result;
|
||||
result.reserve(domain.length());
|
||||
|
||||
const bool isIdnEnabled = op == NormalizeAce ? qt_is_idn_enabled(domain) : false;
|
||||
int lastIdx = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue