mirror of
https://github.com/tnodir/fort
synced 2024-11-15 01:25:52 +00:00
UI: Options: Schedule: Open Programs on double-click of "Purge Obsolete" task
This commit is contained in:
parent
e20a28fa61
commit
cccf9021f3
@ -384,12 +384,17 @@ void FortManager::setupTaskManager()
|
||||
&ConfZoneManager::updateDriverZones);
|
||||
|
||||
connect(taskManager, &TaskManager::taskDoubleClicked, this, [&](qint8 taskType) {
|
||||
auto windowManager = IoC<WindowManager>();
|
||||
|
||||
switch (taskType) {
|
||||
case TaskInfo::UpdateChecker: {
|
||||
IoC<WindowManager>()->showHomeWindowAbout();
|
||||
windowManager->showHomeWindowAbout();
|
||||
} break;
|
||||
case TaskInfo::ZoneDownloader: {
|
||||
IoC<WindowManager>()->showZonesWindow();
|
||||
windowManager->showZonesWindow();
|
||||
} break;
|
||||
case TaskInfo::AppPurger: {
|
||||
windowManager->showProgramsWindow();
|
||||
} break;
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user