mirror of
https://github.com/KDE/konsole.git
synced 2026-06-11 07:26:10 -04:00
Fix readability-implicit-bool-cast issues using nullptr
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user