Web: move to new style connect()

This commit is contained in:
wmayer
2023-01-13 15:14:29 +01:00
parent e47147ea37
commit 507a1f82bc
2 changed files with 6 additions and 6 deletions

View File

@@ -48,7 +48,7 @@ FcCookieJar::FcCookieJar(QObject* parent)
// syscalls in sequence (when loading pages which set multiple cookies).
m_timer.setInterval(10000);
m_timer.setSingleShot(true);
connect(&m_timer, SIGNAL(timeout()), this, SLOT(saveToDisk()));
connect(&m_timer, &QTimer::timeout, this, &FcCookieJar::saveToDisk);
Base::FileInfo cookiefile(App::Application::getUserAppDataDir() + "cookies");
m_file.setFileName(QString::fromUtf8(cookiefile.filePath().c_str()));
if (allCookies().isEmpty())