Skip to content

Commit f043b57

Browse files
committed
Fixed error handling for CSV export
Possible fix for #2
1 parent 9f260bc commit f043b57

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/csvhandle.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ QStringList CSVHandle::loadCSV(QString path, CSVHandle::seperator sep, bool has_
101101

102102
if(!q.exec())
103103
{
104-
QString error = s.append(": ").append(q.lastError().text());
104+
QString error = s;
105+
error.append(": ").append(q.lastError().text());
105106
WARNING(error);
106107
errors << error;
107108
}

0 commit comments

Comments
 (0)