@@ -90,13 +90,13 @@ class CORE_EXPORT QgsComposerItem: public QGraphicsRectItem
90
90
/* *Move Content of item. Does nothing per default (but implemented in composer map)
91
91
@param dx move in x-direction (canvas coordinates)
92
92
@param dy move in y-direction(canvas coordinates)*/
93
- virtual void moveContent ( double dx, double dy ) {}
93
+ virtual void moveContent ( double dx, double dy ) { Q_UNUSED (dx); Q_UNUSED (dy); }
94
94
95
95
/* *Zoom content of item. Does nothing per default (but implemented in composer map)
96
96
@param delta value from wheel event that describes magnitude and direction (positive /negative number)
97
97
@param x x-position of mouse cursor (in item coordinates)
98
98
@param y y-position of mouse cursor (in item coordinates)*/
99
- virtual void zoomContent ( int delta, double x, double y ) {}
99
+ virtual void zoomContent ( int delta, double x, double y ) { Q_UNUSED (delta); Q_UNUSED (x); Q_UNUSED (y); }
100
100
101
101
/* *Moves the item to a new position (in canvas coordinates)*/
102
102
void setItemPosition ( double x, double y, ItemPositionMode itemPoint = UpperLeft );
@@ -128,7 +128,7 @@ class CORE_EXPORT QgsComposerItem: public QGraphicsRectItem
128
128
void setFrame ( bool drawFrame ) {mFrame = drawFrame;}
129
129
130
130
/* *Composite operations for item groups do nothing per default*/
131
- virtual void addItem ( QgsComposerItem* item ) {}
131
+ virtual void addItem ( QgsComposerItem* item ) { Q_UNUSED (item); }
132
132
virtual void removeItems () {}
133
133
134
134
const QgsComposition* composition () const {return mComposition ;}
0 commit comments