summaryrefslogtreecommitdiffhomepage
path: root/csv/csv.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-07-24 12:57:35 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-07-24 12:57:35 +0200
commitb1eaaf0e41089183b77979622b36946ae46a6553 (patch)
tree3d526330d3ab0c32b56a64439e974ff274c8c717 /csv/csv.cpp
parentbc4cb51ccb27aaac1687e3e3255c7321e28d0a33 (diff)
csv: show only existing id
Diffstat (limited to 'csv/csv.cpp')
-rw-r--r--csv/csv.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/csv/csv.cpp b/csv/csv.cpp
index 76f8b56f..ee18e910 100644
--- a/csv/csv.cpp
+++ b/csv/csv.cpp
@@ -96,7 +96,9 @@ bool CSV::getGameData(int id, unsigned char* table, QString& gamename)
for (int i = 0; i < 8; i++)
table[i] = 0;
- qDebug() << "csv: lookup game id" << id;
+ if (id != 0)
+ qDebug() << "csv: lookup game id" << id;
+
QString id_str(QString::number(id));
static const QString csv_path(OPENTRACK_BASE_PATH +