glvdebug: Do not attempt to select an invalid QModelIndex.
authorPeter Lohrmann <peterl@valvesoftware.com>
Mon, 23 Mar 2015 23:04:28 +0000 (16:04 -0700)
committerPeter Lohrmann <peterl@valvesoftware.com>
Mon, 23 Mar 2015 23:24:51 +0000 (16:24 -0700)
commitfa1a009ec86760416f3fd28d23ed644e3a8a76e1
tree2d56e99a6b42162e48676789cecb9d9fae78ff38
parent948d147bc3273cbe24a2c3c2acd70b8926947706
glvdebug: Do not attempt to select an invalid QModelIndex.

* With the GroupByFramesProxy enabled, if the user clicked on a 'Frame' row the UI would attempt to select the invalid item. With the current implementation, valid items must come from the QTraceFileModel, not proxy models.
tools/glave/src/glvdebug/glvdebug.cpp