Enable cross-origin requests for UBFeaturesWidgets

preferencesAboutTextFull
Craig Watson 9 years ago
parent 6f044afc49
commit 435c559b86
  1. 1
      src/gui/UBFeaturesWidget.cpp

@ -780,6 +780,7 @@ UBFeaturesWebView::UBFeaturesWebView(QWidget* parent, const char* name):QWidget(
mpWebSettings->setAttribute(QWebSettings::OfflineStorageDatabaseEnabled, true);
mpWebSettings->setAttribute(QWebSettings::JavascriptCanAccessClipboard, true);
mpWebSettings->setAttribute(QWebSettings::DnsPrefetchEnabled, true);
mpWebSettings->setAttribute(QWebSettings::LocalContentCanAccessRemoteUrls, true);
mpLayout->addWidget(mpView);
mpLayout->setMargin(0);

Loading…
Cancel
Save