Commit 93389c73 authored by Laurent Montel's avatar Laurent Montel 😁

Port deprecated method

parent 3a5aca82
......@@ -41,7 +41,7 @@ RunScript::~RunScript()
void RunScript::onProfileUnload()
{
if (m_scriptPhase == 1) {
QProcess::startDetached(m_scriptCommand);
QProcess::startDetached(m_scriptCommand, QStringList());
}
}
......@@ -53,13 +53,13 @@ void RunScript::onWakeupFromIdle()
void RunScript::onIdleTimeout(int msec)
{
Q_UNUSED(msec);
QProcess::startDetached(m_scriptCommand);
QProcess::startDetached(m_scriptCommand, QStringList());
}
void RunScript::onProfileLoad()
{
if (m_scriptPhase == 0) {
QProcess::startDetached(m_scriptCommand);
QProcess::startDetached(m_scriptCommand, QStringList());
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment