11 |
|
|
12 |
|
this->AppDir=getOSIndependentAppPath(); |
13 |
|
|
14 |
+ |
this->myLogger = new Logger(); //start logger |
15 |
+ |
|
16 |
+ |
this->myLogger->writeString("Detected AppDir: "+this->AppDir); |
17 |
+ |
this->myLogger->writeString("True app dir: "+QDir::currentPath()); |
18 |
+ |
|
19 |
|
this->setWindowTitle("Vago v"+GlobalVars::AppVersion); |
20 |
|
|
21 |
|
if(!QFile::exists(this->AppDir+"/"+GlobalVars::OniSplitString)){ |
95 |
|
|
96 |
|
ui->statusBar->addPermanentWidget(myBar); //this adds automatically in right |
97 |
|
|
93 |
– |
this->myLogger = new Logger(); //start logger |
94 |
– |
|
98 |
|
//Initialize list pointers |
99 |
|
this->listToProccess = new QStringList; |
100 |
|
|
1513 |
|
if(dir.absolutePath().contains(".app")){ // include bundle, but we don't want it |
1514 |
|
dir.cdUp(); |
1515 |
|
dir.cdUp(); |
1516 |
+ |
dir.cdUp(); |
1517 |
|
} |
1518 |
|
return dir.absolutePath(); |
1519 |
|
#else |