From 51082f561d47fc862feaccd4c4bbc8ddbff0f37c Mon Sep 17 00:00:00 2001 From: Mohammed Sameer Date: Sun, 9 Sep 2012 17:50:00 +0300 Subject: [PATCH] QtCamVideoMode::canCapture() should call the base class method --- lib/qtcamvideomode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/qtcamvideomode.cpp b/lib/qtcamvideomode.cpp index eb7bc67..e8c3d3e 100644 --- a/lib/qtcamvideomode.cpp +++ b/lib/qtcamvideomode.cpp @@ -49,7 +49,7 @@ QtCamVideoMode::~QtCamVideoMode() { } bool QtCamVideoMode::canCapture() { - return d_ptr->dev->q_ptr->isIdle(); + return QtCamMode::canCapture() && d_ptr->dev->q_ptr->isIdle(); } void QtCamVideoMode::applySettings() { -- 2.25.1