Commit 0bc27dfc authored by Thiago Santini's avatar Thiago Santini

Fixes status update after loading

parent f42c6c54
......@@ -32,7 +32,7 @@ void UVCCameraControl::setState(QCamera::State state)
break;
case QCamera::LoadedState:
if (m_state == QCamera::UnloadedState && !m_session->load())
if (m_state == QCamera::UnloadedState && !(succeeded=m_session->load()))
return;
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment