mirror of
https://github.com/KDE/konsole.git
synced 2026-06-12 16:05:45 -04:00
fix a lot of issues of readability-implicit-bool-cast
This commit is contained in:
@@ -279,7 +279,7 @@ bool ProcessInfo::userNameRequired() const
|
||||
QString ProcessInfo::currentDir(bool* ok) const
|
||||
{
|
||||
if (ok)
|
||||
*ok = _fields & CURRENT_DIR;
|
||||
*ok = (_fields & CURRENT_DIR) != 0;
|
||||
|
||||
return _currentDir;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user