1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

Fix warning about unregistering URL handlers.

This commit is contained in:
Tiernan Hubble 2023-04-23 16:31:03 -06:00 committed by Juraj Oravec
parent 306d4addd0
commit f8c14a7671
Signed by: SGOrava
GPG Key ID: 13660A3F1D9F093B

View File

@ -389,6 +389,10 @@ MainApplication::~MainApplication()
{ {
m_isClosing = true; m_isClosing = true;
QDesktopServices::unsetUrlHandler(QSL("http"));
QDesktopServices::unsetUrlHandler(QSL("https"));
QDesktopServices::unsetUrlHandler(QSL("ftp"));
IconProvider::instance()->saveIconsToDatabase(); IconProvider::instance()->saveIconsToDatabase();
// Wait for all QtConcurrent jobs to finish // Wait for all QtConcurrent jobs to finish