X-Git-Url: http://git.maemo.org/git/?p=googlelatitude;a=blobdiff_plain;f=src%2Flatitude.cpp;h=47e08e1cf58c0da5df1fb44507587f3ed379b055;hp=40a0a13a064a424880216cbcbdfb1cb45cee667f;hb=dff93640a9b80a22d26ceeea520270cdf31a49e2;hpb=86b0a6b1a00b08595fe6a52cb313408321259df4;ds=inline diff --git a/src/latitude.cpp b/src/latitude.cpp index 40a0a13..47e08e1 100644 --- 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"));