diff options
Diffstat (limited to 'qt-gui.cpp')
-rw-r--r-- | qt-gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-gui.cpp b/qt-gui.cpp index 8a27b6eb2..8d678909e 100644 --- a/qt-gui.cpp +++ b/qt-gui.cpp @@ -390,7 +390,7 @@ QString getSubsurfaceDataPath(QString folderToFind) // first check if we are running in the build dir, so this // is just subdirectory of the current directory - execdir = QCoreApplication::applicationDirPath(); + execdir = QDir::currentPath(); folder = QDir(execdir.append(QDir::separator()).append(folderToFind)); if (folder.exists()) return folder.absolutePath(); |