| # | 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(); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |