fix -Wextra in Image

This commit is contained in:
wmayer
2016-09-22 14:23:25 +02:00
parent 2af6bb6e49
commit e6c01b7227
3 changed files with 11 additions and 3 deletions

View File

@@ -457,7 +457,7 @@ void ImageView::wheelEvent(QWheelEvent * cEvent)
}
}
void ImageView::showEvent (QShowEvent * e)
void ImageView::showEvent (QShowEvent *)
{
_pGLImageBox->setFocus();
}
@@ -607,6 +607,8 @@ void ImageView::select(int currX, int currY)
{
// base class implementation does nothing
// override this method and implement selection capability if required
Q_UNUSED(currX);
Q_UNUSED(currY);
}
// Add selection at the given position
@@ -614,6 +616,8 @@ void ImageView::addSelect(int currX, int currY)
{
// base class implementation does nothing
// override this method and implement selection capability if required
Q_UNUSED(currX);
Q_UNUSED(currY);
}
// Draw any 2D graphics necessary