summaryrefslogtreecommitdiffstats
path: root/examples/multimediawidgets/camera
diff options
context:
space:
mode:
authorRobin Burchell <robin.burchell@jollamobile.com>2014-05-12 11:52:56 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-05-12 12:28:44 +0200
commit7e41e842f8c6dccedd124fb0609be1a57c7c095a (patch)
tree614145530876a683e2033d5bdace5d08503103b8 /examples/multimediawidgets/camera
parent00c072bf0eb25104086eb43e860e038af5f5d340 (diff)
Remove some Q_WS_MAEMO_6 instances from examples.
Some of this stuff no longer worked (setGraphicsSystem..) and generally speaking it just doesn't make much sense: widgets on Harmattan were never really a supported platform. Change-Id: Ia853c6b3297075f32e51d68a05121f700509632d Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Diffstat (limited to 'examples/multimediawidgets/camera')
-rw-r--r--examples/multimediawidgets/camera/camera.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/examples/multimediawidgets/camera/camera.cpp b/examples/multimediawidgets/camera/camera.cpp
index abbbf8333..3afe59324 100644
--- a/examples/multimediawidgets/camera/camera.cpp
+++ b/examples/multimediawidgets/camera/camera.cpp
@@ -53,10 +53,6 @@
#include <QtWidgets>
-#if (defined(Q_WS_MAEMO_6)) && QT_VERSION >= 0x040700
-#define HAVE_CAMERA_BUTTONS
-#endif
-
Camera::Camera(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::Camera),
@@ -88,10 +84,6 @@ Camera::Camera(QWidget *parent) :
connect(videoDevicesGroup, SIGNAL(triggered(QAction*)), SLOT(updateCameraDevice(QAction*)));
connect(ui->captureWidget, SIGNAL(currentChanged(int)), SLOT(updateCaptureMode()));
-#ifdef HAVE_CAMERA_BUTTONS
- ui->lockButton->hide();
-#endif
-
setCamera(cameraDevice);
}