summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_csv
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-15 08:52:42 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-10-15 08:52:42 +0200
commit0a226bcfc232553c19723cbcd76e53ff3827a25e (patch)
tree82100776927476d3bb0687d924b0ebf22bb94b76 /ftnoir_csv
parent864910a1fb753629d2852a91ffae4ebba374358c (diff)
adjust obsolete toAscii()
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'ftnoir_csv')
-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
+}