Fix readability-implicit-bool-cast issues using nullptr

This commit is contained in:
Kurt Hindenburg
2017-04-21 10:51:31 -04:00
parent 29382cc62e
commit a540e6fdd0
31 changed files with 204 additions and 204 deletions

View File

@@ -279,7 +279,7 @@ bool ProcessInfo::userNameRequired() const
QString ProcessInfo::currentDir(bool* ok) const
{
if (ok)
if (ok != nullptr)
*ok = (_fields & CURRENT_DIR) != 0;
return _currentDir;