mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
Use nullptr consistencty instead of 0 and NULL (Qt client)
This commit is contained in:
@@ -93,7 +93,7 @@ void FreeSpaceLabel::onTimer()
|
||||
|
||||
// update the tooltip
|
||||
size_t len = 0;
|
||||
char const* path = 0;
|
||||
char const* path = nullptr;
|
||||
tr_variantDictFindStr(r.args.get(), TR_KEY_path, &path, &len);
|
||||
str = QString::fromUtf8(path, len);
|
||||
setToolTip(QDir::toNativeSeparators(str));
|
||||
|
||||
Reference in New Issue
Block a user