clang-tidy: use braced init list (#7998)

This commit is contained in:
Rosen Penev
2023-01-29 07:05:44 -08:00
committed by GitHub
parent 0f7ef275ab
commit 318157d242
34 changed files with 87 additions and 87 deletions

View File

@@ -116,7 +116,7 @@ QString PassphraseGenerator::generatePassphrase() const
// In case there was an error loading the wordlist
if (m_wordlist.length() == 0) {
return QString();
return {};
}
QStringList words;