From e4cb9703cc6810dbe07070b485ea866f00ba9252 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 8 Jul 2016 10:06:49 +0200 Subject: gui, api, proto/wine: get rid of library path as exported symbol There's no need to do that. It never changes unless the toolchain changes. --- csv/csv.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'csv') 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 #include #include - #include #include @@ -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); -- cgit v1.2.3