mirror of
https://github.com/KDE/konsole.git
synced 2026-06-10 06:55:13 -04:00
Simpify return after else statements
This commit is contained in:
@@ -61,9 +61,8 @@ QString ShellCommand::command() const
|
||||
{
|
||||
if (!_arguments.isEmpty()) {
|
||||
return _arguments[0];
|
||||
} else {
|
||||
return QString();
|
||||
}
|
||||
}
|
||||
return QString();
|
||||
}
|
||||
|
||||
QStringList ShellCommand::arguments() const
|
||||
|
||||
Reference in New Issue
Block a user