summaryrefslogtreecommitdiffhomepage
path: root/csv
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-07-02 02:03:08 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-07-02 02:03:08 +0200
commitdd063f79f6052959aff9ccff0f575888f0ce4b93 (patch)
treefbc663c264b9773cb584c562343381a797680806 /csv
parentf9fbbd9b5e01ebb3e296da138cb4f2906d9bdcff (diff)
busywork
Diffstat (limited to 'csv')
-rw-r--r--csv/csv.cpp2
-rw-r--r--csv/csv.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/csv/csv.cpp b/csv/csv.cpp
index 26a36b70..2f3d4d1f 100644
--- a/csv/csv.cpp
+++ b/csv/csv.cpp
@@ -54,7 +54,7 @@ QString CSV::readLine(){
QStringList CSV::parseLine(){
return parseLine(readLine());
}
-QStringList CSV::parseLine(QString line){
+QStringList CSV::parseLine(QString const& line){
QStringList list;
int pos2 = 0;
QRegExp rx2("(?:\"([^\"]*)\";?)|(?:([^;]*);?)");
diff --git a/csv/csv.h b/csv/csv.h
index e5a37793..8ea0942b 100644
--- a/csv/csv.h
+++ b/csv/csv.h
@@ -18,7 +18,7 @@ class CSV_EXPORT CSV
public:
QString readLine();
QStringList parseLine();
- static QStringList parseLine(QString line);
+ static QStringList parseLine(const QString& line);
void setCodec(const char* codecName);
static bool getGameData(const int gameID, unsigned char* table, QString& gamename);