src: fix qt 5.15 warnings

This commit is contained in:
selsta
2020-04-23 03:13:13 +02:00
parent 585fb2810d
commit 02eec351b9
4 changed files with 20 additions and 3 deletions

View File

@@ -200,9 +200,9 @@ bool DaemonManager::stopWatcher(NetworkType::Type nettype) const
if(counter >= 5) {
qDebug() << "Killing it! ";
#ifdef Q_OS_WIN
QProcess::execute("taskkill /F /IM monerod.exe");
QProcess::execute("taskkill", {"/F", "/IM", "monerod.exe"});
#else
QProcess::execute("pkill monerod");
QProcess::execute("pkill", {"monerod"});
#endif
}