[Uml-devel] KDE/kdesdk/umbrello/umbrello

Sharan Rao sharanrao at gmail.com
Sun Sep 30 18:16:24 UTC 2007


SVN commit 719259 by sharan:

Fix a nasty crash on Right Click ( Entity Widget ) -> Any action.


 M  +1 -1      entitywidget.cpp  
 M  +0 -6      entitywidget.h  


--- trunk/KDE/kdesdk/umbrello/umbrello/entitywidget.cpp #719258:719259
@@ -38,7 +38,7 @@
 void EntityWidget::init() {
     UMLWidget::setBaseType(Uml::wt_Entity);
     setSize(100, 30);
-    m_pMenu = 0;
+
     //set defaults from m_pView
     if (m_pView) {
         //check to see if correct
--- trunk/KDE/kdesdk/umbrello/umbrello/entitywidget.h #719258:719259
@@ -69,12 +69,6 @@
      */
     QSize calculateSize();
 
-private:
-    /**
-     * The right mouse button menu.
-     */
-    ListPopupMenu* m_pMenu;
-
 public slots:
     /**
      * Will be called when a menu selection has been made from the




More information about the umbrello-devel mailing list