Replace the zeroing of pointers with nullptr

This commit is contained in:
thalieht 2018-04-15 13:06:31 +03:00
parent 1055cc0f45
commit 3e4099fe5b
47 changed files with 98 additions and 98 deletions

View file

@ -114,7 +114,7 @@ namespace
QString translation = word;
if (isTranslationNeeded) {
QString context = regex.cap(4);
translation = qApp->translate(context.toUtf8().constData(), word.constData(), 0, 1);
translation = qApp->translate(context.toUtf8().constData(), word.constData(), nullptr, 1);
}
// Remove keyboard shortcuts
translation.replace(mnemonic, "");