1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

SpeedDial: Remove default sites

This commit is contained in:
David Rosca 2018-03-01 16:45:17 +01:00
parent cdbc64eb6d
commit 7308b64df6
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8

View File

@ -62,13 +62,6 @@ void SpeedDial::loadSettings()
m_sdcentered = settings.value("sdcenter", false).toBool();
settings.endGroup();
if (allPages.isEmpty()) {
allPages = "url:\"https:/kde.org\"|title:\"KDE Community Home\";"
"url:\"https://phabricator.kde.org/source/falkon/\"|title:\"Falkon Git\";"
"url:\"https://bugs.kde.org/describecomponents.cgi?product=Falkon\"|title:\"Falkon Bug Tracker\";"
"url:\"https://duckduckgo.com\"|title:\"DuckDuckGo\";";
}
changed(allPages);
m_thumbnailsDir = DataPaths::currentProfilePath() + "/thumbnails/";
@ -232,10 +225,6 @@ QString SpeedDial::initialScript()
void SpeedDial::changed(const QString &allPages)
{
if (allPages.isEmpty()) {
return;
}
const QStringList entries = allPages.split(QLatin1String("\";"), QString::SkipEmptyParts);
m_pages.clear();