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

Ralf Habacker Ralf.Habacker at freenet.de
Sat Jan 24 15:56:55 UTC 2009


SVN commit 916104 by habacker:

m_pMenu may be zero - check pointer first

 M  +2 -0      floatingtextwidget.cpp  


--- trunk/KDE/kdesdk/umbrello/umbrello/floatingtextwidget.cpp #916103:916104
@@ -95,6 +95,8 @@
 
 void FloatingTextWidget::slotMenuSelection(QAction* action)
 {
+    if (!m_pMenu)
+        return;
     ListPopupMenu::Menu_Type sel = m_pMenu->getMenuType(action);
     switch(sel) {
     case ListPopupMenu::mt_Properties:




More information about the umbrello-devel mailing list