- 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:
parent
a03e56aa19
commit
c9d1959026
@ -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;
|
||||
|
@ -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);
|
||||
|
@ -179,7 +179,7 @@ void SpinBox::hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
|
||||
update();
|
||||
}
|
||||
|
||||
void SpinBox::resizeEvent(QGraphicsSceneResizeEvent *event)
|
||||
void SpinBox::resizeEvent(QGraphicsSceneResizeEvent *)
|
||||
{
|
||||
QStyleOptionSpinBox spinOpt;
|
||||
spinOpt.initFrom(nativeWidget());
|
||||
|
Loading…
Reference in New Issue
Block a user