mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-13 10:32:11 +01:00
[Fix] Fixed "Allow HTML5 Storage" option
This commit is contained in:
parent
ea1eceb9d7
commit
5bc7bd472c
|
@ -322,6 +322,10 @@ void MainApplication::loadSettings()
|
||||||
WebPage::UserAgent = settings.value("UserAgent", "").toString();
|
WebPage::UserAgent = settings.value("UserAgent", "").toString();
|
||||||
settings.endGroup();
|
settings.endGroup();
|
||||||
|
|
||||||
|
if (allowPersistentStorage) {
|
||||||
|
m_websettings->enablePersistentStorage(m_activeProfil);
|
||||||
|
}
|
||||||
|
|
||||||
m_websettings->setAttribute(QWebSettings::DeveloperExtrasEnabled, true);
|
m_websettings->setAttribute(QWebSettings::DeveloperExtrasEnabled, true);
|
||||||
m_websettings->setAttribute(QWebSettings::PluginsEnabled, allowFlash);
|
m_websettings->setAttribute(QWebSettings::PluginsEnabled, allowFlash);
|
||||||
m_websettings->setAttribute(QWebSettings::JavascriptEnabled, allowJavaScript);
|
m_websettings->setAttribute(QWebSettings::JavascriptEnabled, allowJavaScript);
|
||||||
|
@ -365,9 +369,6 @@ void MainApplication::loadSettings()
|
||||||
// Allows to load files from qrc: scheme in qupzilla: pages
|
// Allows to load files from qrc: scheme in qupzilla: pages
|
||||||
QWebSecurityOrigin::addLocalScheme("qupzilla");
|
QWebSecurityOrigin::addLocalScheme("qupzilla");
|
||||||
|
|
||||||
if (allowPersistentStorage) {
|
|
||||||
m_websettings->enablePersistentStorage(m_activeProfil);
|
|
||||||
}
|
|
||||||
m_websettings->setMaximumPagesInCache(maxCachedPages);
|
m_websettings->setMaximumPagesInCache(maxCachedPages);
|
||||||
|
|
||||||
setWheelScrollLines(scrollingLines);
|
setWheelScrollLines(scrollingLines);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user