updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / qtcreator-cpphelper-plugin-opt-git / crash-fix.diff
blob78487620e8b53ac90b0f3c738a64836e1c6b3ff8
1 --- ./codehelper.cpp.orig 2010-11-12 17:56:27.723503507 +1000
2 +++ ./codehelper.cpp 2010-11-12 17:58:07.714871563 +1000
3 @@ -107,7 +107,7 @@
4 if (!lastSymbol
5 || !lastSymbol->enclosingScope()
6 || !lastSymbol->isDeclaration()
7 - || !lastSymbol->asFunction()->isPureVirtual())
8 + || (lastSymbol->asFunction() && !lastSymbol->asFunction()->isPureVirtual()))
9 return;
11 // Try to open the declaration