enable plugins, update todo
authorRodrigo Linfati <rodrigo@linfati.cl>
Mon, 10 May 2010 13:46:31 +0000 (15:46 +0200)
committerRodrigo Linfati <rodrigo@linfati.cl>
Mon, 10 May 2010 13:46:31 +0000 (15:46 +0200)
src/latitude.cpp
src/main.cpp

index aa742f1..864f5c0 100644 (file)
@@ -26,6 +26,7 @@ LatitudeGUI::LatitudeGUI(QMainWindow *parent) : QMainWindow(parent) {
     // GUI
     url = QUrl::fromEncoded("https://www.google.com/accounts/ServiceLogin?service=friendview&continue=http://www.google.com/maps/m?mode=latitude");
     maps = new QWebView();
+    maps->settings()->setAttribute(QWebSettings::PluginsEnabled, true);
     connect(maps, SIGNAL(loadFinished(bool)), this, SLOT(maps_login()));
     maps->load(url);
     menuBar()->addAction(tr("&Latitude"), this, SLOT(mode_latitude()));
index c85dc20..fd38f35 100644 (file)
@@ -17,4 +17,5 @@ int main(int argc, char *argv[]) {
  on auth error -> stop gps
  on new pos, only set it
  send new pos every 120s, only if is diferent
+ no n900 -> por ip
  */