fix: segmentation violation due to missing return (#1321)
This commit is contained in:
parent
b88ab8e432
commit
2bff37efae
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ bool Utils::killProcessByName(const QString &name)
|
|||
#elif defined Q_OS_IOS || defined(Q_OS_ANDROID)
|
||||
return false;
|
||||
#else
|
||||
QProcess::execute(QString("pkill %1").arg(name));
|
||||
return QProcess::execute(QString("pkill %1").arg(name)) == 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue