mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cleanup: use std::vector in struct device_table
Since we converted from QString to std::string, let's also use std::vector instead of QVector. We don't need COW semantics and all the rigmarole. Let's try to keep Qt data structures out of the core. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
fd8bd9d5c7
commit
4a50badb57
4 changed files with 9 additions and 9 deletions
|
@ -27,7 +27,7 @@ slots:
|
|||
void remove(const QModelIndex &index);
|
||||
|
||||
private:
|
||||
QVector<device> dcs;
|
||||
std::vector<device> dcs;
|
||||
};
|
||||
|
||||
class DiveComputerSortedModel : public QSortFilterProxyModel {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue