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"));