From 2c337062baf4fd4615ee46b4b2b508dbf6514b2e Mon Sep 17 00:00:00 2001 From: Rodrigo Linfati Date: Mon, 10 May 2010 15:46:31 +0200 Subject: [PATCH] enable plugins, update todo --- src/latitude.cpp | 1 + src/main.cpp | 1 + 2 files changed, 2 insertions(+) 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 */ -- 1.7.9.5