summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Habacker <[email protected]>2015-05-29 12:26:16 +0200
committerRalf Habacker <[email protected]>2015-05-29 13:56:41 +0200
commit8469dc1e14af3089c08ff6ddf0f29cda85ac5c39 (patch)
tree65ae626608c51219ba207f8d43a4595b22468a08
parent34b0f17234285d5d7fe431651cdd78c2cccbbf3e (diff)
Merge in Qt5 variant of QExplicitlySharedDataPointer from frameworks branch.
-rw-r--r--umbrello/codeimport/cppimport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/umbrello/codeimport/cppimport.cpp b/umbrello/codeimport/cppimport.cpp
index 31dcf66..765ce6d 100644
--- a/umbrello/codeimport/cppimport.cpp
+++ b/umbrello/codeimport/cppimport.cpp
@@ -93,7 +93,7 @@ void CppImport::feedTheModel(const QString& fileName)
}
}
ParsedFilePointer ast = ms_driver->translationUnit(fileName);
- if (ast.isNull()) {
+ if (!ast) {
uError() << fileName << " not found in list of parsed files";
return;
}