summaryrefslogtreecommitdiffhomepage
path: root/csv
diff options
context:
space:
mode:
Diffstat (limited to 'csv')
-rw-r--r--csv/csv.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/csv/csv.cpp b/csv/csv.cpp
index 74fa5f39..14bcb957 100644
--- a/csv/csv.cpp
+++ b/csv/csv.cpp
@@ -15,7 +15,6 @@
#include <QFile>
#include <QCoreApplication>
#include <QString>
-
#include <QDebug>
#include <utility>
@@ -99,7 +98,8 @@ bool CSV::getGameData(int id, unsigned char* table, QString& gamename)
QString id_str(QString::number(id));
- static const QString libexec_path(QString(OPENTRACK_LIBRARY_PATH) +
+ static const QString libexec_path(QCoreApplication::applicationDirPath() +
+ QString(OPENTRACK_LIBRARY_PATH) +
QString("settings/facetracknoir supported games.csv"));
QFile file(QCoreApplication::applicationDirPath() + libexec_path);