Fix sqlb::Table::fieldList()

This suddenly failed on my system and broke the CSV import. Maybe
because of some new version of some software? Either way, the new
version should work anywhere.
This commit is contained in:
Martin Kleusberg
2015-07-04 18:57:50 +02:00
parent b08cead7c8
commit a598e0d36c

View File

@@ -146,7 +146,7 @@ QStringList Table::fieldList() const
{
QStringList sl;
foreach(FieldPtr f, m_fields) {
foreach(const FieldPtr& f, m_fields) {
sl << f->toString();
}