projects
/
googlelatitude
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86b0a6b
)
cell/gps only on maemo5
author
Rodrigo Linfati
<rodrigo@linfati.cl>
Sat, 2 Jan 2010 03:13:00 +0000
(
04:13
+0100)
committer
Rodrigo Linfati
<rodrigo@linfati.cl>
Sat, 2 Jan 2010 03:13:00 +0000
(
04:13
+0100)
src/latitude.cpp
patch
|
blob
|
history
diff --git
a/src/latitude.cpp
b/src/latitude.cpp
index
40a0a13
..
47e08e1
100644
(file)
--- a/
src/latitude.cpp
+++ b/
src/latitude.cpp
@@
-151,6
+151,12
@@
void LatitudeGUI::show_lat() {
layout->addLayout(layout_source);
location->setLayout(layout);
+ // gps enable only on maemo5
+#ifndef Q_WS_MAEMO_5
+ source_cell->setDisabled(1);
+ source_gps->setDisabled(1);
+#endif
+
// set widget
setCentralWidget(location);
setWindowTitle(tr("Google Latitude Updater"));