Check for null pointer
AbstractTemplateLoader::loadByName returns a Grantlee::Template. A Grantlee::Template is a QSharedPointer<TemplateImpl>. This pointer may be null, e.g. in Grantlee::FileSystemTemplateLoader. This patch adds a check to avoid a crash when a template could not be loaded. REVIEW: 130091
parent
2e5aad7d
Please register or sign in to comment