Enabled Java application. Thanks to Anatoly

preferencesAboutTextFull
Claudio Valerio 14 years ago
parent 3bcc7f3b5f
commit 03b32dbb12
  1. 1
      src/core/UBApplication.cpp

@ -198,6 +198,7 @@ int UBApplication::exec(const QString& pFileToImport)
QWebSettings::setOfflineStoragePath (webDbPath); QWebSettings::setOfflineStoragePath (webDbPath);
QWebSettings *gs = QWebSettings::globalSettings(); QWebSettings *gs = QWebSettings::globalSettings();
gs->setAttribute(QWebSettings::JavaEnabled, true);
gs->setAttribute(QWebSettings::PluginsEnabled, true); gs->setAttribute(QWebSettings::PluginsEnabled, true);
gs->setAttribute(QWebSettings::LocalStorageDatabaseEnabled, true); gs->setAttribute(QWebSettings::LocalStorageDatabaseEnabled, true);
gs->setAttribute(QWebSettings::OfflineWebApplicationCacheEnabled, true); gs->setAttribute(QWebSettings::OfflineWebApplicationCacheEnabled, true);

Loading…
Cancel
Save