projects
/
harmattan
/
cameraplus
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1af85f2
)
Reversed condition prevented saving the useGps setting
author
Mohammed Sameer
<msameer@foolab.org>
Mon, 17 Sep 2012 00:08:42 +0000
(
03:08
+0300)
committer
Mohammed Sameer
<msameer@foolab.org>
Mon, 17 Sep 2012 00:08:42 +0000
(
03:08
+0300)
src/settings.cpp
patch
|
blob
|
history
diff --git
a/src/settings.cpp
b/src/settings.cpp
index
ced415d
..
a1decc5
100644
(file)
--- a/
src/settings.cpp
+++ b/
src/settings.cpp
@@
-66,7
+66,7
@@
bool Settings::useGps() const {
}
void Settings::setUseGps(bool enable) {
- if (enable
=
= useGps()) {
+ if (enable
!
= useGps()) {
m_settings->setValue("camera/useGps", enable);
emit useGpsChanged();