forked from qt-creator/qt-creator
CppTools: modernize
Change-Id: Iaf02e4d026f1ac8b216833d83cd7a735e21ff60a Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -65,7 +65,7 @@ QString AbstractEditorSupport::licenseTemplate(const QString &file, const QStrin
|
||||
expander.registerVariable("Cpp:License:ClassName", tr("The class name."),
|
||||
[className]() { return className; });
|
||||
|
||||
return Utils::TemplateEngine::processText(&expander, license, 0);
|
||||
return Utils::TemplateEngine::processText(&expander, license, nullptr);
|
||||
}
|
||||
|
||||
} // namespace CppTools
|
||||
|
||||
Reference in New Issue
Block a user