From 194880737e8b5b846f94f34969d4fe93dfe196e7 Mon Sep 17 00:00:00 2001 From: offhub <6871698+offhub@users.noreply.github.com> Date: Sat, 16 Nov 2024 21:26:51 +0300 Subject: [PATCH] Add more context menu removals Added additional context menu removal calls in `ShellRemove()` and `ShellUninstall()` for improved cleanup. --- SandboxiePlus/SandMan/Engine/SbieObject.cpp | 2 ++ SandboxiePlus/SandMan/Wizards/SetupWizard.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/SandboxiePlus/SandMan/Engine/SbieObject.cpp b/SandboxiePlus/SandMan/Engine/SbieObject.cpp index a0d17a9b..b6dc5376 100644 --- a/SandboxiePlus/SandMan/Engine/SbieObject.cpp +++ b/SandboxiePlus/SandMan/Engine/SbieObject.cpp @@ -210,6 +210,8 @@ void CSbieObject::ShellRemove() { CSettingsWindow::RemoveContextMenu(); CSbieUtils::RemoveContextMenu2(); + CSbieUtils::RemoveContextMenu3(); + CSbieUtils::RemoveContextMenu4(); } void CSbieObject::LogMessage(const QVariant& Message, bool bNotify) diff --git a/SandboxiePlus/SandMan/Wizards/SetupWizard.cpp b/SandboxiePlus/SandMan/Wizards/SetupWizard.cpp index 9b809dae..ae429ad3 100644 --- a/SandboxiePlus/SandMan/Wizards/SetupWizard.cpp +++ b/SandboxiePlus/SandMan/Wizards/SetupWizard.cpp @@ -151,6 +151,8 @@ void CSetupWizard::ShellUninstall() CSettingsWindow::RemoveContextMenu(); CSbieUtils::RemoveContextMenu2(); + CSbieUtils::RemoveContextMenu3(); + CSbieUtils::RemoveContextMenu4(); // todo: delete desktop browser shortcut and start menu integration }