[Uml-devel] [Bug 103170] program get SIGSEGV when CTRL+z is used

Oliver Kellogg okellogg at users.sourceforge.net
Wed Apr 27 14:34:42 UTC 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=103170         




------- Additional Comments From okellogg users sourceforge net  2005-04-27 23:33 -------
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