mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
Change default values
This commit is contained in:
parent
bba5d3680d
commit
11758c3687
@ -46,10 +46,10 @@ void QzSettings::loadSettings()
|
||||
loadTabsOnActivation = settings.value("LoadTabsOnActivation", false).toBool();
|
||||
autoOpenProtocols = settings.value("AutomaticallyOpenProtocols", QStringList()).toStringList();
|
||||
blockedProtocols = settings.value("BlockOpeningProtocols", QStringList()).toStringList();
|
||||
allowJsGeometryChange = settings.value("allowJavaScriptGeometryChange", false).toBool();
|
||||
allowJsHideMenuBar = settings.value("allowJavaScriptHideMenuBar", false).toBool();
|
||||
allowJsHideStatusBar = settings.value("allowJavaScriptHideStatusBar", false).toBool();
|
||||
allowJsHideToolBar = settings.value("allowJavaScriptHideToolBar", false).toBool();
|
||||
allowJsGeometryChange = settings.value("allowJavaScriptGeometryChange", true).toBool();
|
||||
allowJsHideMenuBar = settings.value("allowJavaScriptHideMenuBar", true).toBool();
|
||||
allowJsHideStatusBar = settings.value("allowJavaScriptHideStatusBar", true).toBool();
|
||||
allowJsHideToolBar = settings.value("allowJavaScriptHideToolBar", true).toBool();
|
||||
settings.endGroup();
|
||||
|
||||
settings.beginGroup("Browser-Tabs-Settings");
|
||||
|
@ -33,10 +33,10 @@ JsOptions::JsOptions(QWidget* parent)
|
||||
settings.beginGroup("Web-Browser-Settings");
|
||||
ui->jscanCloseWindow->setChecked(settings.value("allowJavaScriptCloseWindow", false).toBool());
|
||||
ui->jscanOpenWindow->setChecked(settings.value("allowJavaScriptOpenWindow", false).toBool());
|
||||
ui->jscanChangeSize->setChecked(settings.value("allowJavaScriptGeometryChange", false).toBool());
|
||||
ui->jscanHideMenu->setChecked(settings.value("allowJavaScriptHideMenuBar", false).toBool());
|
||||
ui->jscanHideStatus->setChecked(settings.value("allowJavaScriptHideStatusBar", false).toBool());
|
||||
ui->jscanHideTool->setChecked(settings.value("allowJavaScriptHideToolBar", false).toBool());
|
||||
ui->jscanChangeSize->setChecked(settings.value("allowJavaScriptGeometryChange", true).toBool());
|
||||
ui->jscanHideMenu->setChecked(settings.value("allowJavaScriptHideMenuBar", true).toBool());
|
||||
ui->jscanHideStatus->setChecked(settings.value("allowJavaScriptHideStatusBar", true).toBool());
|
||||
ui->jscanHideTool->setChecked(settings.value("allowJavaScriptHideToolBar", true).toBool());
|
||||
ui->jscanAccessClipboard->setChecked(settings.value("allowJavaScriptAccessClipboard", false).toBool());
|
||||
settings.endGroup();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user