[Uml-devel] branches/work/soc-umbrello/umbrello/cmds/widget

Andi Fischer andi.fischer at hispeed.ch
Mon Apr 30 17:46:06 UTC 2012


SVN commit 1292318 by fischer:

Differences to trunk reduced.

 M  +0 -3      cmd_changeFontSelection.cpp  
 M  +2 -2      cmd_create_widget.cpp  
 M  +1 -1      cmd_create_widget.h  


--- branches/work/soc-umbrello/umbrello/cmds/widget/cmd_changeFontSelection.cpp #1292317:1292318
@@ -22,7 +22,6 @@
 {
     CmdChangeFontSelection::CmdChangeFontSelection(UMLDoc* doc, UMLScene* scene, QFont fon)
     {
-        // [PORT]
         UMLWidget * widget = scene->getFirstMultiSelectedWidget();
         setText(i18n("Change font : %1", widget->name()));
         m_doc = doc;
@@ -33,14 +32,12 @@
 
     void CmdChangeFontSelection::undo()
     {
-        // [PORT]
         m_scene->selectionSetFont( m_oldFont );
         m_doc->setModified(true);
     }
 
     void CmdChangeFontSelection::redo()
     {
-        // [PORT]
         m_scene->selectionSetFont( m_newFont );
         m_doc->setModified(true);
     }
--- branches/work/soc-umbrello/umbrello/cmds/widget/cmd_create_widget.cpp #1292317:1292318
@@ -4,7 +4,7 @@
  *   the Free Software Foundation; either version 2 of the License, or     *
  *   (at your option) any later version.                                   *
  *                                                                         *
- *   copyright (C) 2002-2011                                               *
+ *   copyright (C) 2002-2012                                               *
  *   Umbrello UML Modeller Authors <uml-devel at uml.sf.net>                  *
  ***************************************************************************/
 
@@ -29,7 +29,7 @@
 
     CmdCreateWidget::~CmdCreateWidget()
     {
-        //m_view->removeWidget(m_widget);
+        //m_scene->removeWidget(m_widget);
     }
 
     /**
--- branches/work/soc-umbrello/umbrello/cmds/widget/cmd_create_widget.h #1292317:1292318
@@ -4,7 +4,7 @@
  *   the Free Software Foundation; either version 2 of the License, or     *
  *   (at your option) any later version.                                   *
  *                                                                         *
- *   copyright (C) 2002-2010                                               *
+ *   copyright (C) 2002-2012                                               *
  *   Umbrello UML Modeller Authors <uml-devel at uml.sf.net>                  *
  ***************************************************************************/
 




More information about the umbrello-devel mailing list