Check if command string is empty in ExternalCommand::start
This commit is contained in:
parent
58a11262f7
commit
22e857a072
|
@ -121,6 +121,9 @@ bool ExternalCommand::start(int timeout)
|
|||
{
|
||||
Q_UNUSED(timeout)
|
||||
|
||||
if (command().isEmpty())
|
||||
return false;
|
||||
|
||||
if (report()) {
|
||||
report()->setCommand(xi18nc("@info:status", "Command: %1 %2", command(), args().join(QStringLiteral(" "))));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue