mirror of
https://github.com/tnodir/fort
synced 2024-11-15 07:57:24 +00:00
UI: Programs: Show attention on "Kill Process" click
This commit is contained in:
parent
becca82953
commit
e9f5918606
@ -372,6 +372,13 @@ QLayout *ProgramEditDialog::setupAllowLayout()
|
|||||||
m_dteBlockAppAt->setEnabled(checked);
|
m_dteBlockAppAt->setEnabled(checked);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
connect(m_rbKillProcess, &QRadioButton::clicked, this, [&] {
|
||||||
|
IoC<WindowManager>()->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;
|
return allowLayout;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user