[Uml-devel] KDE/kdesdk/umbrello/umbrello/codegenerators
Oliver Kellogg
okellogg at users.sourceforge.net
Sat Nov 18 22:37:14 UTC 2006
SVN commit 606000 by okellogg:
capitalizeFirstLetter(): Apply toUpper() to firstChar.
M +1 -1 rubycodegenerator.cpp
--- trunk/KDE/kdesdk/umbrello/umbrello/codegenerators/rubycodegenerator.cpp #605999:606000
@@ -92,7 +92,7 @@
// we could lowercase everything tostart and then capitalize? Nah, it would
// screw up formatting like getMyRadicalVariable() to getMyradicalvariable(). Bah.
QChar firstChar = string.at(0);
- return firstChar + string.mid(1);
+ return firstChar.toUpper() + string.mid(1);
}
QString RubyCodeGenerator::cppToRubyType(const QString &typeStr) {
More information about the umbrello-devel
mailing list