From d87cffd5db383751bbb8103bdf880679050632fa Mon Sep 17 00:00:00 2001 From: David Rosca Date: Thu, 1 Mar 2018 16:47:12 +0100 Subject: [PATCH] Bookmarks: Remove default bookmarks Also don't show bookmarks toolbar by default as there is nothing to show now. --- src/lib/app/browserwindow.cpp | 2 +- src/lib/data/data/bookmarks.json | 38 +------------------------------- 2 files changed, 2 insertions(+), 38 deletions(-) diff --git a/src/lib/app/browserwindow.cpp b/src/lib/app/browserwindow.cpp index dd4230402..ce3ff88a1 100644 --- a/src/lib/app/browserwindow.cpp +++ b/src/lib/app/browserwindow.cpp @@ -582,7 +582,7 @@ void BrowserWindow::loadSettings() //Browser Window settings settings.beginGroup("Browser-View-Settings"); bool showStatusBar = settings.value("showStatusBar", false).toBool(); - bool showBookmarksToolbar = settings.value("showBookmarksToolbar", true).toBool(); + bool showBookmarksToolbar = settings.value("showBookmarksToolbar", false).toBool(); bool showNavigationToolbar = settings.value("showNavigationToolbar", true).toBool(); bool showMenuBar = settings.value("showMenubar", false).toBool(); diff --git a/src/lib/data/data/bookmarks.json b/src/lib/data/data/bookmarks.json index ad1c57da8..ebe667391 100644 --- a/src/lib/data/data/bookmarks.json +++ b/src/lib/data/data/bookmarks.json @@ -1,43 +1,7 @@ { "roots": { "bookmark_bar": { - "children": [ - { - "description": "Source code of Falkon", - "keyword": "falkon-git", - "name": "Falkon Git", - "type": "url", - "url": "https://phabricator.kde.org/source/falkon/", - "visit_count": 0 - }, - { - "description": "KDE Bug Tracker for Falkon", - "keyword": "falkon-bugs", - "name": "Falkon Bug Tracker", - "type": "url", - "url": "https://bugs.kde.org/describecomponents.cgi?product=Falkon", - "visit_count": 0 - }, - { - "description": "Falkon KDE UserBase Wiki", - "keyword": "falkon-wiki", - "name": "Falkon Wiki", - "type": "url", - "url": "https://userbase.kde.org/Falkon", - "visit_count": 0 - }, - { - "type": "separator" - }, - { - "description": "KDE Community Home", - "keyword": "kde-home", - "name": "KDE Homepage", - "type": "url", - "url": "https://www.kde.org/", - "visit_count": 0 - } - ], + "children": [ ], "description": "Bookmarks located in Bookmarks Toolbar", "expanded": true, "expanded_sidebar": true,