projects
/
harmattan
/
cameraplus
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Emit canCaptureChanged() for the active mode when we get an error
[harmattan/cameraplus]
/
lib
/
qtcamdevice_p.h
diff --git
a/lib/qtcamdevice_p.h
b/lib/qtcamdevice_p.h
index
35bfe17
..
de62e6c
100644
(file)
--- a/
lib/qtcamdevice_p.h
+++ b/
lib/qtcamdevice_p.h
@@
-114,6
+114,10
@@
public:
QMetaObject::invokeMethod(q_ptr, "error", Q_ARG(QString, message),
Q_ARG(int, code), Q_ARG(QString, debug));
+
+ if (active) {
+ QMetaObject::invokeMethod(active, "canCaptureChanged", Qt::QueuedConnection);
+ }
}
void _d_stopped() {