mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 01:03:08 -07:00
Merge pull request #8761 from thalieht/nullptr
Replace the zeroing of pointers with nullptr
This commit is contained in:
commit
3a0e5e51df
47 changed files with 98 additions and 98 deletions
|
@ -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, "");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue