PAM login will be phased out. Users with PAM login need to reset their password (click "I forgot my password") for this GitLab instance. Please use the standard login after the reset. In case of problems contact the admins.

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) ...@@ -32,7 +32,7 @@ void UVCCameraControl::setState(QCamera::State state)
break; break;
case QCamera::LoadedState: case QCamera::LoadedState:
if (m_state == QCamera::UnloadedState && !m_session->load()) if (m_state == QCamera::UnloadedState && !(succeeded=m_session->load()))
return; return;
break; 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