[Uml-devel] KDE/kdesdk/umbrello/umbrello
Ralf Habacker
ralf.habacker at gmail.com
Sat Dec 17 11:34:46 UTC 2011
SVN commit 1268941 by habacker:
fixed possible crash reason caused by not nulling pointer to deleted object
M +1 -0 umllistview.cpp
--- trunk/KDE/kdesdk/umbrello/umbrello/umllistview.cpp #1268940:1268941
@@ -214,6 +214,7 @@
m_menu->hide();
disconnect(m_menu, SIGNAL(triggered(QAction*)), this, SLOT(popupMenuSel(QAction*)));
delete m_menu;
+ m_menu = 0;
}
UMLListViewItem * temp = (UMLListViewItem*)currentItem();
m_menu = new ListPopupMenu(this, UMLListViewItem::lvt_Model, temp->umlObject());
More information about the umbrello-devel
mailing list