mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
ref:file path
This commit is contained in:
@@ -26,13 +26,13 @@ void ExternalExecuter::callApp()
|
||||
|
||||
bool ExternalExecuter::findApp()
|
||||
{
|
||||
QString localPath = QDir::currentPath() + "/Application";
|
||||
QString localPath = QDir::currentPath() + applicationFolderName;
|
||||
QDirIterator iterator(localPath,QDirIterator::Subdirectories);
|
||||
|
||||
while(iterator.hasNext()){
|
||||
iterator.next();
|
||||
|
||||
if(iterator.fileInfo().fileName() == "RRJ.exe"){
|
||||
if(iterator.fileInfo().fileName() == applicationEXEName){
|
||||
programPath = iterator.fileInfo().absoluteFilePath();
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user