Commit 03b32dbb authored by Claudio Valerio's avatar Claudio Valerio

Enabled Java application. Thanks to Anatoly

parent 3bcc7f3b
...@@ -198,6 +198,7 @@ int UBApplication::exec(const QString& pFileToImport) ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment