diff options
Diffstat (limited to 'ui/qt/interface_tree_cache_model.h')
-rw-r--r-- | ui/qt/interface_tree_cache_model.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/qt/interface_tree_cache_model.h b/ui/qt/interface_tree_cache_model.h index cee1c0bea0..b5bd1ba8e3 100644 --- a/ui/qt/interface_tree_cache_model.h +++ b/ui/qt/interface_tree_cache_model.h @@ -51,7 +51,7 @@ public: void reset(int row); void save(); - void addDevice(interface_t * newDevice); + void addDevice(const interface_t * newDevice); void deleteDevice(const QModelIndex &index); #endif @@ -59,7 +59,7 @@ private: InterfaceTreeModel * sourceModel; #ifdef HAVE_LIBPCAP - QList<interface_t *> newDevices; + QList<interface_t> newDevices; void saveNewDevices(); #endif @@ -68,7 +68,7 @@ private: QList<InterfaceTreeColumns> checkableColumns; #ifdef HAVE_LIBPCAP - interface_t * lookup(const QModelIndex &index) const; + const interface_t * lookup(const QModelIndex &index) const; #endif bool changeIsAllowed(InterfaceTreeColumns col) const; |