projects
/
harmattan
/
cameraplus
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c419786
)
Emit canCaptureChanged() for the active mode when we get an error
author
Mohammed Sameer
<msameer@foolab.org>
Fri, 14 Sep 2012 10:20:29 +0000
(13:20 +0300)
committer
Mohammed Sameer
<msameer@foolab.org>
Fri, 14 Sep 2012 10:20:29 +0000
(13:20 +0300)
lib/qtcamdevice_p.h
patch
|
blob
|
history
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() {