projects
/
harmattan
/
cameraplus
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47bfe8c
)
Check for mass storage mode before disk space before we capture an image
author
Mohammed Sameer
<msameer@foolab.org>
Fri, 4 Jan 2013 14:48:17 +0000
(16:48 +0200)
committer
Mohammed Sameer
<msameer@foolab.org>
Fri, 4 Jan 2013 14:48:17 +0000
(16:48 +0200)
qml/ImagePage.qml
patch
|
blob
|
history
diff --git
a/qml/ImagePage.qml
b/qml/ImagePage.qml
index
45b07ec
..
a719808
100644
(file)
--- a/
qml/ImagePage.qml
+++ b/
qml/ImagePage.qml
@@
-44,13
+44,13
@@
CameraPage {
return;
}
- if (!
checkDiskSpace()
) {
- showError(qsTr("
Not enough space to capture images
."));
+ if (!
fileSystem.available
) {
+ showError(qsTr("
Camera cannot capture images in mass storage mode
."));
return;
}
- if (!
fileSystem.available
) {
- showError(qsTr("
Camera cannot capture images in mass storage mode
."));
+ if (!
checkDiskSpace()
) {
+ showError(qsTr("
Not enough space to capture images
."));
return;
}