Fix lupdate-Warning in qcamera.cpp.

qcamera.cpp:183: Cannot invoke tr() like this

Change-Id: Ia8f29c02bbc4b91c6542d9ed44136094e1e8a2e1
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
This commit is contained in:
Friedemann Kleint
2013-02-04 16:33:18 +01:00
committed by The Qt Project
parent 99190404e1
commit 4510c494ff

View File

@@ -180,7 +180,7 @@ void QCameraPrivate::setState(QCamera::State newState)
unsetError(); unsetError();
if (!control) { if (!control) {
_q_error(QCamera::ServiceMissingError, q_ptr->tr("The camera service is missing")); _q_error(QCamera::ServiceMissingError, QCamera::tr("The camera service is missing"));
return; return;
} }