projects
/
harmattan
/
cameraplus
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad9ad89
)
Enable resolution changing only if camera is idle
author
Mohammed Sameer
<msameer@foolab.org>
Wed, 13 Feb 2013 22:59:40 +0000
(
00:59
+0200)
committer
Mohammed Sameer
<msameer@foolab.org>
Wed, 13 Feb 2013 22:59:40 +0000
(
00:59
+0200)
qml/VideoResolutionSettings.qml
patch
|
blob
|
history
diff --git
a/qml/VideoResolutionSettings.qml
b/qml/VideoResolutionSettings.qml
index
eb762ae
..
6b4308c
100644
(file)
--- a/
qml/VideoResolutionSettings.qml
+++ b/
qml/VideoResolutionSettings.qml
@@
-33,7
+33,7
@@
Column {
ButtonRow {
width: parent.width
-
+ enabled: cam.idle
exclusive: false
Repeater {
@@
-48,14
+48,7
@@
Column {
delegate: Button {
text: resolutions.name(resolutionName, resolution);
checked: settings.videoResolution == resolutionName;
- onClicked: {
- if (!cam.idle) {
- showError(qsTr("Camera is busy saving."));
- return;
- }
-
- settings.videoResolution = resolutionName;
- }
+ onClicked: settings.videoResolution = resolutionName;
}
}
}