mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
Replace the zeroing of pointers with nullptr
This commit is contained in:
@@ -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, "");
|
||||
|
||||
Reference in New Issue
Block a user