summaryrefslogtreecommitdiff
path: root/src/libs/cplusplus/LookupContext.cpp
diff options
context:
space:
mode:
authorDaniel Teske <daniel.teske@theqtcompany.com>2015-03-13 13:22:55 +0100
committerDaniel Teske <daniel.teske@theqtcompany.com>2015-03-13 12:59:05 +0000
commitcbc62a2905118eee342622676cf1e1f9c18dea8e (patch)
treeb189250b53af0caa463f2c392e1af45e9bbb4076 /src/libs/cplusplus/LookupContext.cpp
parent1c8b691620afb32dce65381b9c31573d756b2e23 (diff)
downloadqt-creator-cbc62a2905118eee342622676cf1e1f9c18dea8e.tar.gz
FlatModel: Fix a crash on restoring session
Still wondering how exactly it happens. This results in parent() returning a invalid QModelIndex() for a valid QModelIndex() which should not happen, but this prevents the crash. Also add some minimal logging. Change-Id: I36559c1f9cda39e8b8a80f487651ad58f7c2cc05 Task-number: QTCREATORBUG-14134 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com> Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
Diffstat (limited to 'src/libs/cplusplus/LookupContext.cpp')
0 files changed, 0 insertions, 0 deletions