From 0c098fcf9d9872a36cd15a8607bf65a2a2b644b1 Mon Sep 17 00:00:00 2001 From: zomfg Date: Thu, 28 May 2020 02:06:42 +0200 Subject: [PATCH] plugin: QProcess::start overload change --- Software/src/Plugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Software/src/Plugin.cpp b/Software/src/Plugin.cpp index cd4b84fba..21327e54d 100644 --- a/Software/src/Plugin.cpp +++ b/Software/src/Plugin.cpp @@ -107,7 +107,6 @@ void Plugin::Start() { DEBUG_LOW_LEVEL << Q_FUNC_INFO << _exec; - QString program = _exec; //QStringList arguments; //arguments << "-style" << "fusion"; @@ -119,7 +118,8 @@ void Plugin::Start() process->setEnvironment(QProcess::systemEnvironment()); // process->setProcessChannelMode(QProcess::ForwardedChannels); - process->start(program,NULL); + process->setProgram(_exec); + process->start(); } void Plugin::Stop()