Fix incorrect signal/slot connection in QDeclarativeTorch.
Change-Id: Id8cb716e25a2c08111f99112fbf319fb8331d64d Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
This commit is contained in:
@@ -74,7 +74,7 @@ QDeclarativeTorch::QDeclarativeTorch(QObject *parent)
|
|||||||
m_flash = service ? service->requestControl<QCameraFlashControl*>() : 0;
|
m_flash = service ? service->requestControl<QCameraFlashControl*>() : 0;
|
||||||
|
|
||||||
if (m_exposure)
|
if (m_exposure)
|
||||||
connect(m_exposure, SIGNAL(valueChanged(int)), SLOT(parameterChanged(int)));
|
connect(m_exposure, SIGNAL(actualValueChanged(int)), SLOT(parameterChanged(int)));
|
||||||
|
|
||||||
// XXX There's no signal for flash mode changed
|
// XXX There's no signal for flash mode changed
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user