diff --git a/src/ui/fortmanager.cpp b/src/ui/fortmanager.cpp index 985f2e29..ee8f7f5a 100644 --- a/src/ui/fortmanager.cpp +++ b/src/ui/fortmanager.cpp @@ -384,12 +384,17 @@ void FortManager::setupTaskManager() &ConfZoneManager::updateDriverZones); connect(taskManager, &TaskManager::taskDoubleClicked, this, [&](qint8 taskType) { + auto windowManager = IoC(); + switch (taskType) { case TaskInfo::UpdateChecker: { - IoC()->showHomeWindowAbout(); + windowManager->showHomeWindowAbout(); } break; case TaskInfo::ZoneDownloader: { - IoC()->showZonesWindow(); + windowManager->showZonesWindow(); + } break; + case TaskInfo::AppPurger: { + windowManager->showProgramsWindow(); } break; } });