diff --git a/src/lib/app/mainapplication.cpp b/src/lib/app/mainapplication.cpp index 89a876fd5..c9b0e2c79 100644 --- a/src/lib/app/mainapplication.cpp +++ b/src/lib/app/mainapplication.cpp @@ -389,6 +389,10 @@ MainApplication::~MainApplication() { m_isClosing = true; + QDesktopServices::unsetUrlHandler(QSL("http")); + QDesktopServices::unsetUrlHandler(QSL("https")); + QDesktopServices::unsetUrlHandler(QSL("ftp")); + IconProvider::instance()->saveIconsToDatabase(); // Wait for all QtConcurrent jobs to finish