diff options
author | Thomas Hartmann <Thomas.Hartmann@nokia.com> | 2011-08-04 16:33:07 +0200 |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@nokia.com> | 2011-08-04 16:47:29 +0200 |
commit | b40d056b155813d1a86f31ea7571d2cfd195ea03 (patch) | |
tree | fe05b804c67812a493bad97b00db942c9b1ad927 /src/plugins/cpptools/cpprefactoringchanges.cpp | |
parent | 1a5fe565691237ab5e93faca30a8ab3e0b6fbe93 (diff) | |
download | qt-creator-b40d056b155813d1a86f31ea7571d2cfd195ea03.tar.gz |
QmlDesigner.navigator: fixes crash for context menu
We have to add a check if the item we want to set visibility on
is really an item. See: isItem()
For general safety I added try catch blocks for RewritingExceptions
Task-Number: QTCREATORBUG-5731
Change-Id: I72f4f5ae69067a04b09880ae071265c83f880b4c
Reviewed-on: http://codereview.qt.nokia.com/2637
Reviewed-by: Marco Bubke <marco.bubke@nokia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
Diffstat (limited to 'src/plugins/cpptools/cpprefactoringchanges.cpp')
0 files changed, 0 insertions, 0 deletions