Enabled local storage (yandex requires it).
This commit is contained in:
parent
56a7469260
commit
186395f692
@ -16,6 +16,7 @@ WebTranslator::WebTranslator ()
|
||||
|
||||
view_->settings ()->setAttribute (QWebSettings::AutoLoadImages, false);
|
||||
view_->settings ()->setAttribute (QWebSettings::DeveloperExtrasEnabled, true);
|
||||
view_->settings ()->setAttribute (QWebSettings::LocalStorageEnabled, true);
|
||||
|
||||
connect (view_, SIGNAL (loadFinished (bool)), SLOT (loadFinished (bool)));
|
||||
connect (view_->page ()->mainFrame (), SIGNAL (javaScriptWindowObjectCleared ()),
|
||||
|
Loading…
Reference in New Issue
Block a user