Use nullptr consistencty instead of 0 and NULL (Qt client)

This commit is contained in:
Mike Gelfand
2017-04-30 12:29:58 +03:00
parent 7bfd7f5863
commit 6da99c05e2
26 changed files with 86 additions and 86 deletions

View File

@@ -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));