X-Git-Url: http://git.maemo.org/git/?p=googlelatitude;a=blobdiff_plain;f=src%2Flatitude.cpp;h=864f5c019219d845466ac9c05fe7635091156f67;hp=aa742f1d70e78c472eeaee6736a0c7295e6a1c0b;hb=2c337062baf4fd4615ee46b4b2b508dbf6514b2e;hpb=e1790861d041d0aec07947dcec23fd61b31cce50 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()));