mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
feat: add scenario conflict resolver
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
void ExternalExecuter::callApp()
|
||||
{
|
||||
QProcess *myProcess = new QProcess(this);
|
||||
QStringList args;
|
||||
args << "1";
|
||||
QStringList args = QCoreApplication::arguments();
|
||||
args.removeFirst();
|
||||
|
||||
myProcess->start(programPath,args);
|
||||
myProcess->waitForStarted();
|
||||
@@ -21,10 +21,11 @@ bool ExternalExecuter::findApp()
|
||||
|
||||
if(iterator.fileInfo().fileName() == applicationEXEName){
|
||||
programPath = iterator.fileInfo().absoluteFilePath();
|
||||
isAvailable = true;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
isAvailable = false;
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -37,3 +38,8 @@ void ExternalExecuter::setIsAutoStart(bool value)
|
||||
{
|
||||
isAutoStart = value;
|
||||
}
|
||||
|
||||
bool ExternalExecuter::getIsAvailable() const
|
||||
{
|
||||
return isAvailable;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user