1
mirror of https://invent.kde.org/network/falkon.git synced 2024-09-21 09:42:10 +02:00

New browser defaults: Falkon and KDE links in bookmarks and speed dial

This commit is contained in:
Javier Llorente 2023-04-19 12:48:02 +02:00 committed by Juraj Oravec
parent e8c900b494
commit 07345f0c78
2 changed files with 22 additions and 1 deletions

View File

@ -9,7 +9,24 @@
"type": "folder"
},
"bookmark_menu": {
"children": [],
"children": [
{
"description": "",
"keyword": "falkon",
"name": "Falkon",
"type": "url",
"url": "https://www.falkon.org/",
"visit_count": 0
},
{
"description": "",
"keyword": "kde",
"name": "KDE Community",
"type": "url",
"url": "https://www.kde.org/",
"visit_count": 0
}
],
"description": "Bookmarks located in Bookmarks Menu",
"expanded": true,
"expanded_sidebar": true,

View File

@ -62,6 +62,10 @@ void SpeedDial::loadSettings()
m_sdcentered = settings.value("sdcenter", false).toBool();
settings.endGroup();
if (allPages.isEmpty()) {
allPages = "url:\"https://www.falkon.org\"|title:\"Falkon\";"
"url:\"https://www.kde.org\"|title:\"KDE Community\";";
}
changed(allPages);
m_thumbnailsDir = DataPaths::currentProfilePath() + "/thumbnails/";