Commit Graph

6 Commits

Author SHA1 Message Date
Srivats P
36e0a64f81 Revert "Use persistent model index in devices widget"
This reverts commit 46dd028a33.

The above commit caused a regression - issue #281

As seen in valgrind, crash was caused by portModel reset writing into
a freed block - presumably pertaining to persistent indexes. The block
was freed by the persistent index itself earlier when it was set to
invalid - so the model should not have been accessing that.

The application code seems correct - maybe the Qt code has a bug?
Unlikely but not impossible. For now go back to using QModelIndex
instead of QPersistentModelIndex

Fixes #281
2019-08-24 11:59:41 +05:30
Srivats P
46dd028a33 Use persistent model index in devices widget 2019-08-10 18:55:23 +05:30
Srivats P
9d97fefad3 Add Resolve/Clear buttons to Device Info window
Fixes #189
2019-01-21 19:18:36 +05:30
Srivats P
26ceb2f9df Device Emulation (contd.): Hide Device Detail view when Escape pressed or Refresh clicked 2016-03-14 21:39:01 +05:30
Srivats P
853802b997 Device Emulation (contd.): Implemented display of ARP Cache Device Detail; styled "drillable" fields in DeviceModel suitably 2016-03-14 20:11:40 +05:30
Srivats P
24a93a5025 Device Emulation (contd.): PortsWindow - refactored all device related widgets into a separate DevicesWidget for better modularity. 2016-03-13 19:51:32 +05:30