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

Merge branch 'Falkon/3.0'

This commit is contained in:
David Rosca 2018-04-18 10:11:05 +02:00
commit 8034ace416
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8
2 changed files with 2 additions and 4 deletions

View File

@ -18,12 +18,14 @@
#include "autosaver.h"
#include <QTimerEvent>
#include <QCoreApplication>
#define SAVE_DELAY 1000 * 10 // 10 seconds
AutoSaver::AutoSaver(QObject* parent)
: QObject(parent)
{
connect(qApp, &QCoreApplication::aboutToQuit, this, &AutoSaver::saveIfNecessary);
}
void AutoSaver::saveIfNecessary()

View File

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