diff --git a/src/platform/qt/InputController.cpp b/src/platform/qt/InputController.cpp index 2e3ba0a9a..0c5a848c1 100644 --- a/src/platform/qt/InputController.cpp +++ b/src/platform/qt/InputController.cpp @@ -94,11 +94,11 @@ InputController::InputController(int playerId, QWidget* topLevel, QObject* paren InputControllerImage* image = static_cast(context); image->w = w; image->h = h; - image->p->m_cameraActive = true; if (image->image.isNull()) { image->image.load(":/res/no-cam.png"); } #ifdef BUILD_QT_MULTIMEDIA + image->p->m_cameraActive = true; QByteArray camera = image->p->m_config->getQtOption("camera").toByteArray(); if (!camera.isNull()) { image->p->m_cameraDevice = camera;