1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

Disable native scrollbars by default

See #2246
This commit is contained in:
David Rosca 2017-03-15 10:49:27 +01:00
parent d18be6f8e4
commit 9211a8eceb
2 changed files with 2 additions and 2 deletions

View File

@ -277,7 +277,7 @@ Preferences::Preferences(BrowserWindow* window)
ui->animateScrolling->setChecked(settings.value("AnimateScrolling", true).toBool());
ui->wheelScroll->setValue(settings.value("wheelScrollLines", qApp->wheelScrollLines()).toInt());
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()) {
ui->defaultZoomLevel->addItem(QString("%1%").arg(level));

View File

@ -109,7 +109,7 @@ WebScrollBarManager::WebScrollBarManager(QObject *parent)
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) {
for (WebView *view : m_scrollbars.keys()) {