Skip to content

Commit

Permalink
plugin: QProcess::start overload change
Browse files Browse the repository at this point in the history
  • Loading branch information
zomfg committed May 28, 2020
1 parent 6c4dd27 commit 0c098fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Software/src/Plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ void Plugin::Start()
{
DEBUG_LOW_LEVEL << Q_FUNC_INFO << _exec;

QString program = _exec;
//QStringList arguments;
//arguments << "-style" << "fusion";

Expand All @@ -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()
Expand Down

0 comments on commit 0c098fc

Please sign in to comment.