From e9f591860686eac3a613985fecf75468494dda14 Mon Sep 17 00:00:00 2001 From: Nodir Temirkhodjaev Date: Thu, 4 May 2023 11:42:22 +0300 Subject: [PATCH] UI: Programs: Show attention on "Kill Process" click --- src/ui/form/prog/programeditdialog.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/ui/form/prog/programeditdialog.cpp b/src/ui/form/prog/programeditdialog.cpp index 62720905..acb7baee 100644 --- a/src/ui/form/prog/programeditdialog.cpp +++ b/src/ui/form/prog/programeditdialog.cpp @@ -372,6 +372,13 @@ QLayout *ProgramEditDialog::setupAllowLayout() m_dteBlockAppAt->setEnabled(checked); }); + connect(m_rbKillProcess, &QRadioButton::clicked, this, [&] { + IoC()->showInfoBox( + tr("Attention: The 'Kill Process' option is very dangerous!!!\n\n" + "Be careful when killing a system services or other important programs!\n" + "It can cause a Windows malfunction or totally unusable.")); + }); + return allowLayout; }