mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
feat: before threading
This commit is contained in:
@@ -21,7 +21,7 @@ void ExternalExecuter::CallApp()
|
||||
myProcess.waitForFinished(-1);
|
||||
}
|
||||
|
||||
void ExternalExecuter::FindApp()
|
||||
bool ExternalExecuter::FindApp()
|
||||
{
|
||||
QString localPath = QDir::currentPath() + "/Application";
|
||||
QDirIterator iterator(localPath,QDirIterator::Subdirectories);
|
||||
@@ -31,7 +31,9 @@ void ExternalExecuter::FindApp()
|
||||
|
||||
if(iterator.fileInfo().fileName() == "RRJ.exe"){
|
||||
programPath = iterator.fileInfo().absoluteFilePath();
|
||||
qDebug() << "Bin found: " << programPath;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user