- Remove several warnings about unused parameters

http://reviewboard.kde.org/r/2252/
  I didn't applied Q_UNUSED to "parent" pointers as this looks suspicious to me, and it needs more review.


svn path=/trunk/KDE/kdelibs/; revision=1058428
This commit is contained in:
Darío Andrés Rodríguez 2009-12-04 13:01:33 +00:00
parent a03e56aa19
commit c9d1959026
3 changed files with 3 additions and 2 deletions

View File

@ -692,6 +692,7 @@ void ExtenderItem::hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
QSizeF ExtenderItem::sizeHint(Qt::SizeHint which, const QSizeF &constraint) const
{
Q_UNUSED(constraint)
switch (which) {
case Qt::MinimumSize:
return d->minimumSize;

View File

@ -502,7 +502,7 @@ void ScrollWidget::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
event->ignore();
}
void ScrollWidget::wheelEvent(QGraphicsSceneWheelEvent *event)
void ScrollWidget::wheelEvent(QGraphicsSceneWheelEvent *)
{
if (d->animId) {
Animator::self()->stopItemMovement(d->animId);

View File

@ -179,7 +179,7 @@ void SpinBox::hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
update();
}
void SpinBox::resizeEvent(QGraphicsSceneResizeEvent *event)
void SpinBox::resizeEvent(QGraphicsSceneResizeEvent *)
{
QStyleOptionSpinBox spinOpt;
spinOpt.initFrom(nativeWidget());