[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/krita
From:       Boudewijn Rempt <boud () valdyas ! org>
Date:       2010-10-05 8:38:45
Message-ID: 20101005083845.12A033E1F4 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1182631 by rempt:

fix warnings

 M  +2 -2      image/kis_selection_component.h  
 M  +0 -4      ui/flake/kis_shape_controller.cpp  


--- trunk/koffice/krita/image/kis_selection_component.h #1182630:1182631
@@ -34,8 +34,8 @@
     virtual void renderToProjection(KisSelection* projection) = 0;
     virtual void renderToProjection(KisSelection* projection, const QRect& r) = 0;
     
-    virtual void moveX(qint32 x) {}
-    virtual void moveY(qint32 x) {}
+    virtual void moveX(qint32 x) { Q_UNUSED(x); }
+    virtual void moveY(qint32 y) { Q_UNUSED(y); }
 };
 
 #endif
--- trunk/koffice/krita/ui/flake/kis_shape_controller.cpp #1182630:1182631
@@ -214,10 +214,6 @@
         }
     }
 
-
-    KisCanvas2 * canvas = 0;
-    KisSelectionSP selection = 0;
-
     KisShapeSelection * shapeSelection = dynamic_cast<KisShapeSelection*>(shape->parent());
     if (shapeSelection) {
         shapeSelection->removeChild(shape);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic