mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
816367eb06
commit
1c06252c00
2 changed files with 21 additions and 7 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue