mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-13 10:32:11 +01:00
parent
d18be6f8e4
commit
9211a8eceb
|
@ -277,7 +277,7 @@ Preferences::Preferences(BrowserWindow* window)
|
||||||
ui->animateScrolling->setChecked(settings.value("AnimateScrolling", true).toBool());
|
ui->animateScrolling->setChecked(settings.value("AnimateScrolling", true).toBool());
|
||||||
ui->wheelScroll->setValue(settings.value("wheelScrollLines", qApp->wheelScrollLines()).toInt());
|
ui->wheelScroll->setValue(settings.value("wheelScrollLines", qApp->wheelScrollLines()).toInt());
|
||||||
ui->xssAuditing->setChecked(settings.value("XSSAuditing", false).toBool());
|
ui->xssAuditing->setChecked(settings.value("XSSAuditing", false).toBool());
|
||||||
ui->useNativeScrollbars->setChecked(settings.value("UseNativeScrollbars", true).toBool());
|
ui->useNativeScrollbars->setChecked(settings.value("UseNativeScrollbars", false).toBool());
|
||||||
|
|
||||||
foreach (int level, WebView::zoomLevels()) {
|
foreach (int level, WebView::zoomLevels()) {
|
||||||
ui->defaultZoomLevel->addItem(QString("%1%").arg(level));
|
ui->defaultZoomLevel->addItem(QString("%1%").arg(level));
|
||||||
|
|
|
@ -109,7 +109,7 @@ WebScrollBarManager::WebScrollBarManager(QObject *parent)
|
||||||
|
|
||||||
void WebScrollBarManager::loadSettings()
|
void WebScrollBarManager::loadSettings()
|
||||||
{
|
{
|
||||||
m_enabled = Settings().value(QSL("Web-Browser-Settings/UseNativeScrollbars"), true).toBool();
|
m_enabled = Settings().value(QSL("Web-Browser-Settings/UseNativeScrollbars"), false).toBool();
|
||||||
|
|
||||||
if (!m_enabled) {
|
if (!m_enabled) {
|
||||||
for (WebView *view : m_scrollbars.keys()) {
|
for (WebView *view : m_scrollbars.keys()) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user