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

Ralf Habacker ralf.habacker at gmail.com
Wed Nov 14 19:58:02 UTC 2012


SVN commit 1325091 by habacker:

Removed unused warnings.

 M  +1 -2      toolbarstate.cpp  
 M  +1 -1      umlscene.cpp  


--- trunk/KDE/kdesdk/umbrello/umbrello/toolbarstate.cpp #1325090:1325091
@@ -178,8 +178,6 @@
  */
 void ToolBarState::mouseMove(QGraphicsSceneMouseEvent* ome)
 {
-	static int mouseCount = 0;
-
     setMouseEvent(ome, QEvent::MouseMove);
 
     if (currentWidget()) {
@@ -191,6 +189,7 @@
     }
 #if 0
     // scrolls the view
+    static int mouseCount = 0;
     int vx = ome->scenePos().x();
     int vy = ome->scenePos().y();
     UMLView* view = m_pUMLScene->activeView();
--- trunk/KDE/kdesdk/umbrello/umbrello/umlscene.cpp #1325090:1325091
@@ -3746,7 +3746,7 @@
  */
 void UMLScene::resizeCanvasToItems()
 {
-    UMLSceneRect rect = itemsBoundingRect();
+    //UMLSceneRect rect = itemsBoundingRect();
     //Make sure (0,0) is in the topLeft
     
     //[PORT] resizing scene size to widget bounds 




More information about the umbrello-devel mailing list