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

Register also as url handler for https scheme

This commit is contained in:
David Rosca 2017-01-27 20:59:10 +01:00
parent e2af1649bc
commit e18d2d90bd

View File

@ -248,8 +248,9 @@ MainApplication::MainApplication(int &argc, char** argv)
#endif
QSettings::setDefaultFormat(QSettings::IniFormat);
QDesktopServices::setUrlHandler("http", this, "addNewTab");
QDesktopServices::setUrlHandler("ftp", this, "addNewTab");
QDesktopServices::setUrlHandler(QSL("http"), this, "addNewTab");
QDesktopServices::setUrlHandler(QSL("https"), this, "addNewTab");
QDesktopServices::setUrlHandler(QSL("ftp"), this, "addNewTab");
ProfileManager profileManager;
profileManager.initConfigDir();