Version: 3.9.84 (using Devel) OS: Linux Installed from: Compiled sources New class wizard: when creating a class in file with dashes in its name, the generated template will be invalid. 1. open a project 2. invoke "New class" 3. give class any name 4. give file names: invalid-template.h / invalid-template.cpp 5. generated file will contain following lines: #ifndef INVALID-TEMPLATE_H #define INVALID-TEMPLATE_H Expected behaviour: 5. generated file will contain following lines: #ifndef INVALID_TEMPLATE_H #define INVALID_TEMPLATE_H
SVN commit 1002229 by apaku: Replace '-' with '_' for the header guard as '-' is invalid BUG:178661 M +1 -1 cppnewclass.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1002229