summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppcompletion_test.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@digia.com>2014-08-27 13:48:25 +0200
committerUlf Hermann <ulf.hermann@digia.com>2014-09-09 12:01:58 +0200
commit00650c8b65633b40b5a650436d4062ad288b4a5a (patch)
tree14a4406339ede1d9b84aa9b752d7f84fcbaf49c6 /src/plugins/cpptools/cppcompletion_test.cpp
parentdc6c0bceac794b729e9fa37bdaa913796bf677eb (diff)
downloadqt-creator-00650c8b65633b40b5a650436d4062ad288b4a5a.tar.gz
QmlProfiler: connect category labels to specific models
By listening only to the relevant expandedChanged and rowHeightChanged signals we avoid accessing invalid data on clearing. When clearing the models each one is collapsed. The collapsing in turn triggers rebuilding of the labels. Unrelated labels could access already cleared data like this. Change-Id: I3fad45f5c6279019fbc27ec54e758f498a9d55f2 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'src/plugins/cpptools/cppcompletion_test.cpp')
0 files changed, 0 insertions, 0 deletions