projects
/
harmattan
/
cameraplus
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added enablePreview() and disablePreview() to QtCamMode
[harmattan/cameraplus]
/
lib
/
qtcammode.cpp
diff --git
a/lib/qtcammode.cpp
b/lib/qtcammode.cpp
index
8e72b55
..
81d5781
100644
(file)
--- a/
lib/qtcammode.cpp
+++ b/
lib/qtcammode.cpp
@@
-159,3
+159,7
@@
bool QtCamMode::isActive() {
QtCamDevice *QtCamMode::device() const {
return d_ptr->dev->q_ptr;
}
+
+void QtCamMode::disablePreview() {
+ d_ptr->setPreviewSize(QSize());
+}