mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-29 20:30:54 +00:00
Changed: Use profile ID instead of index for -p parameter
--HG-- branch : develop
This commit is contained in:
parent
8f88b352ab
commit
a9540fb9d1
1 changed files with 2 additions and 2 deletions
|
@ -91,7 +91,7 @@ void CMainWindow::onPlayClicked()
|
||||||
|
|
||||||
QStringList arguments;
|
QStringList arguments;
|
||||||
arguments << "-p";
|
arguments << "-p";
|
||||||
arguments << QString::number(profileIndex);
|
arguments << profile.id;
|
||||||
arguments << profile.arguments.split(' ');
|
arguments << profile.arguments.split(' ');
|
||||||
|
|
||||||
bool started = QProcess::startDetached(executable, arguments);
|
bool started = QProcess::startDetached(executable, arguments);
|
||||||
|
@ -115,7 +115,7 @@ void CMainWindow::onConfigureClicked()
|
||||||
|
|
||||||
QStringList arguments;
|
QStringList arguments;
|
||||||
arguments << "-p";
|
arguments << "-p";
|
||||||
arguments << QString::number(profileIndex);
|
arguments << profile.id;
|
||||||
|
|
||||||
bool started = QProcess::startDetached(executable, arguments);
|
bool started = QProcess::startDetached(executable, arguments);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue