From: Rodrigo Linfati Date: Mon, 10 May 2010 13:46:31 +0000 (+0200) Subject: enable plugins, update todo X-Git-Url: http://git.maemo.org/git/?p=googlelatitude;a=commitdiff_plain;h=2c337062baf4fd4615ee46b4b2b508dbf6514b2e;hp=e1790861d041d0aec07947dcec23fd61b31cce50 enable plugins, update todo --- diff --git a/src/latitude.cpp b/src/latitude.cpp index aa742f1..864f5c0 100644 --- a/src/latitude.cpp +++ b/src/latitude.cpp @@ -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())); diff --git a/src/main.cpp b/src/main.cpp index c85dc20..fd38f35 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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 */