Fix warnings about unused variables.

Change-Id: I147ff8624faa98396d6c48801c41a731fd02ac10
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
This commit is contained in:
Friedemann Kleint
2013-02-14 12:00:46 +01:00
committed by The Qt Project
parent fc62718e98
commit 41dc5467bf
7 changed files with 15 additions and 1 deletions

View File

@@ -119,6 +119,7 @@ QMediaControl* DSCameraService::requestControl(const char *name)
void DSCameraService::releaseControl(QMediaControl *control)
{
Q_UNUSED(control)
// Implemented as a singleton, so we do nothing.
}

View File

@@ -96,6 +96,8 @@ public:
STDMETHODIMP SampleCB(double Time, IMediaSample *pSample)
{
Q_UNUSED(Time)
Q_UNUSED(pSample)
return E_NOTIMPL;
}

View File

@@ -58,7 +58,7 @@ public:
int capture(const QString &fileName);
virtual QCameraImageCapture::DriveMode driveMode() const { return QCameraImageCapture::SingleImageCapture; }
virtual void setDriveMode(QCameraImageCapture::DriveMode mode) { }
virtual void setDriveMode(QCameraImageCapture::DriveMode mode) { Q_UNUSED(mode) }
virtual void cancelCapture() {}

View File

@@ -107,6 +107,7 @@ void DSVideoWidgetSurface::updateVideoRect()
void DSVideoWidgetSurface::paint(QPainter *painter)
{
Q_UNUSED(painter)
}