diff options
-rw-r--r-- | src/plugins/cpptools/abstracteditorsupport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cpptools/abstracteditorsupport.cpp b/src/plugins/cpptools/abstracteditorsupport.cpp index afe3a70103..a6256293d8 100644 --- a/src/plugins/cpptools/abstracteditorsupport.cpp +++ b/src/plugins/cpptools/abstracteditorsupport.cpp @@ -61,7 +61,7 @@ QString AbstractEditorSupport::licenseTemplate(const QString &file, const QStrin Utils::MacroExpander expander; expander.registerVariable("Cpp:License:FileName", tr("The file name."), [file]() { return Utils::FileName::fromString(file).fileName(); }); - expander.registerVariable("Cpp:License:ClassName", tr("The class name"), + expander.registerVariable("Cpp:License:ClassName", tr("The class name."), [className]() { return className; }); return Utils::TemplateEngine::processText(&expander, license, 0); |