From ad29c2c9148251ed2d0ca796ebc22ceb1510b271 Mon Sep 17 00:00:00 2001 From: Katja Marttila Date: Wed, 29 Mar 2023 09:10:59 +0300 Subject: Allow shortcuts for https links in Windows Task-number: QTIFW-964 Change-Id: If666d7d651f8240e3e7d4c25d9e9d7d81cbe1b39 Reviewed-by: Katarina Behrens Reviewed-by: Arttu Tarkiainen --- src/libs/installer/createshortcutoperation.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/libs/installer/createshortcutoperation.cpp b/src/libs/installer/createshortcutoperation.cpp index 57f901c2f..f068ba345 100644 --- a/src/libs/installer/createshortcutoperation.cpp +++ b/src/libs/installer/createshortcutoperation.cpp @@ -110,6 +110,7 @@ static bool createLink(const QString &fileName, const QString &linkName, QString IUnknown *iunkn = nullptr; if (fileName.toLower().startsWith(QLatin1String("http:")) + || fileName.toLower().startsWith(QLatin1String("https:")) || fileName.toLower().startsWith(QLatin1String("ftp:"))) { IUniformResourceLocator *iurl = nullptr; if (FAILED(CoCreateInstance(CLSID_InternetShortcut, nullptr, CLSCTX_INPROC_SERVER, -- cgit v1.2.3