summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ftnoir_csv/csv.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ftnoir_csv/csv.cpp b/ftnoir_csv/csv.cpp
index 26b675fc..4753e8df 100644
--- a/ftnoir_csv/csv.cpp
+++ b/ftnoir_csv/csv.cpp
@@ -136,7 +136,7 @@ void CSV::getGameData( const int id, unsigned char* table, QString& gamename)
//
if (gameLine.count() > 6) {
if (gameLine.at(6).compare( gameID, Qt::CaseInsensitive ) == 0) {
- QByteArray id = gameLine.at(7).toAscii();
+ QByteArray id = gameLine.at(7).toLatin1();
int tmp[8];
int fuzz[3];
if (gameLine.at(3) == QString("V160"))
@@ -177,4 +177,4 @@ void CSV::getGameData( const int id, unsigned char* table, QString& gamename)
//
qDebug() << "Unknown game connected" << gameID;
file.close();
-} \ No newline at end of file
+}