CVS import UI: use my own match function

This makes the code simpler and allows us to do a much better job matching
the column names.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-01-07 12:27:20 -08:00
parent 816367eb06
commit 1c06252c00
2 changed files with 21 additions and 7 deletions

View file

@ -24,6 +24,7 @@ public:
bool setData(const QModelIndex &index, const QVariant &value, int role);
QVariant data(const QModelIndex &index, int role) const;
int rowCount(const QModelIndex &parent) const;
int mymatch(QString value) const;
private:
QStringList columnNames;
};