Changeset 1031


Ignore:
Timestamp:
Mar 13, 2016, 5:11:45 PM (9 years ago)
Author:
iritscen
Message:

Path fix for Vago on Macs.

Location:
Vago/trunk/Vago
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Vago/trunk/Vago/converter.cpp

    r897 r1031  
    1616    int numErrors=0;
    1717
     18    this->myLogger->writeString("Setting working dir. to "+this->AppDir+".");
    1819    myProcess->setWorkingDirectory(this->AppDir); // Set working directory (for work with AEI2/Mac OS)
    1920
  • Vago/trunk/Vago/mainwindow.cpp

    r999 r1031  
    15781578QString MainWindow::getOSIndependentAppPath(){
    15791579#ifdef Q_OS_MAC
    1580     QDir dir = QDir::current();
     1580    QDir dir = QDir(QCoreApplication::applicationDirPath());
    15811581    if(dir.absolutePath().contains(".app")){ // include bundle, but we don't want it
    15821582        dir.cdUp();
Note: See TracChangeset for help on using the changeset viewer.