[Uml-devel] kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Wed Apr 27 14:35:02 UTC 2005


CVS commit by okellogg: 

{set,get}Name(): Revert the change of umlview.h:1.66 and umlview.cpp:1.198,
it spoiled non-latin1 diagram names.
Thanks to Andre Woebbeking <Woebbeking_AT_onlinehome.de> for spotting the
problem.
CCBUG:103170


  M +2 -2      umlview.cpp   1.217
  M +5 -0      umlview.h   1.77


--- kdesdk/umbrello/umbrello/umlview.h  #1.76:1.77
@@ -996,4 +996,9 @@ protected:
 
         /**
+         * The name of the diagram.
+         */
+        QString m_Name;
+
+        /**
          * The documentation of the diagram.
          */

--- kdesdk/umbrello/umbrello/umlview.cpp  #1.216:1.217
@@ -215,9 +215,9 @@ UMLView::~UMLView() {
 
 QString UMLView::getName() const {
-        return QString( QObject::name() );
+        return m_Name;
 }
 
 void UMLView::setName(const QString &name) {
-        QObject::setName( name.latin1() );
+        m_Name = name;
 }
 






More information about the umbrello-devel mailing list