Changed: Use profile ID instead of index for -p parameter

--HG--
branch : develop
feature/pipeline-tools
kervala 9 years ago
parent 8f88b352ab
commit a9540fb9d1

@ -91,7 +91,7 @@ void CMainWindow::onPlayClicked()
QStringList arguments;
arguments << "-p";
arguments << QString::number(profileIndex);
arguments << profile.id;
arguments << profile.arguments.split(' ');
bool started = QProcess::startDetached(executable, arguments);
@ -115,7 +115,7 @@ void CMainWindow::onConfigureClicked()
QStringList arguments;
arguments << "-p";
arguments << QString::number(profileIndex);
arguments << profile.id;
bool started = QProcess::startDetached(executable, arguments);

Loading…
Cancel
Save