ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/s10k/Vago/mainwindow.cpp
(Generate patch)

Comparing Vago/trunk/Vago/mainwindow.cpp (file contents):
Revision 999 by s10k, Sat Apr 26 12:40:47 2014 UTC vs.
Revision 1031 by iritscen, Sun Mar 13 16:11:45 2016 UTC

# Line 1577 | Line 1577 | void MainWindow::setConverterButtonsSize
1577    **/
1578   QString MainWindow::getOSIndependentAppPath(){
1579   #ifdef Q_OS_MAC
1580 <    QDir dir = QDir::current();
1580 >    QDir dir = QDir(QCoreApplication::applicationDirPath());
1581      if(dir.absolutePath().contains(".app")){ // include bundle, but we don't want it
1582          dir.cdUp();
1583          dir.cdUp();

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)