QtCamVideoMode::canCapture() should call the base class method
authorMohammed Sameer <msameer@foolab.org>
Sun, 9 Sep 2012 14:50:00 +0000 (17:50 +0300)
committerMohammed Sameer <msameer@foolab.org>
Sun, 9 Sep 2012 14:50:00 +0000 (17:50 +0300)
lib/qtcamvideomode.cpp

index eb7bc67..e8c3d3e 100644 (file)
@@ -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() {