diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-07-08 10:06:49 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-07-08 10:27:30 +0200 |
commit | e4cb9703cc6810dbe07070b485ea866f00ba9252 (patch) | |
tree | aa78e77c2ce4520513300d1c06cdb53c5c0cacd7 /csv | |
parent | 81b49dabaf168b907252affd5412de7744a409de (diff) |
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.
Diffstat (limited to 'csv')
-rw-r--r-- | csv/csv.cpp | 4 |
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); |