status -> state

This commit is contained in:
shun_iwasawa 2016-09-14 16:37:24 +09:00
parent 339a9c28e1
commit bd6b1b6e90

View file

@ -1100,7 +1100,7 @@ void PencilTestPopup::showEvent(QShowEvent* event) {
// reload camera
if (m_currentCamera) {
if (m_currentCamera->state() == QCamera::UnloadedStatus)
if (m_currentCamera->state() == QCamera::UnloadedState)
m_currentCamera->load();
if (m_currentCamera->state() == QCamera::LoadedState)
m_currentCamera->start();