mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-19 18:26:34 +01:00
Remove MPL notice in last commit.
This commit is contained in:
parent
2aa25fe0b1
commit
e0e21362cc
@ -267,9 +267,6 @@ void RegisterQAppAssociation::registerAllAssociation()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// The code of the following method was taken
|
|
||||||
// from https://github.com/mozilla/gecko-dev/blob/master/browser/components/shell/nsWindowsShellService.cpp#L364
|
|
||||||
// that is licensed under MPL-2.0.
|
|
||||||
bool RegisterQAppAssociation::showNativeDefaultAppSettingsUi()
|
bool RegisterQAppAssociation::showNativeDefaultAppSettingsUi()
|
||||||
{
|
{
|
||||||
if (!isVistaOrNewer()) {
|
if (!isVistaOrNewer()) {
|
||||||
@ -290,8 +287,8 @@ bool RegisterQAppAssociation::showNativeDefaultAppSettingsUi()
|
|||||||
|
|
||||||
DWORD pid;
|
DWORD pid;
|
||||||
hr = pActivator->ActivateApplication(
|
hr = pActivator->ActivateApplication(
|
||||||
L"windows.immersivecontrolpanel_cw5n1h2txyewy"
|
L"windows.immersivecontrolpanel_cw5n1h2txyewy" // appUserModelId of "Settings"
|
||||||
L"!microsoft.windows.immersivecontrolpanel",
|
L"!microsoft.windows.immersivecontrolpanel", // in Windows Store
|
||||||
L"page=SettingsPageAppsDefaults", AO_NONE, &pid);
|
L"page=SettingsPageAppsDefaults", AO_NONE, &pid);
|
||||||
|
|
||||||
if (!SUCCEEDED(hr)) {
|
if (!SUCCEEDED(hr)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user