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

SpeedDial: Allow to save settings when there are no pages

This commit is contained in:
David Rosca 2018-04-18 10:08:14 +02:00
parent 1b065536b0
commit 30f5cd2d7e
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8

View File

@ -76,10 +76,6 @@ void SpeedDial::saveSettings()
{ {
ENSURE_LOADED; ENSURE_LOADED;
if (m_pages.isEmpty()) {
return;
}
Settings settings; Settings settings;
settings.beginGroup("SpeedDial"); settings.beginGroup("SpeedDial");
settings.setValue("pages", generateAllPages()); settings.setValue("pages", generateAllPages());