mirror of
https://github.com/tnodir/fort
synced 2024-11-15 09:59:38 +00:00
UI: Services: Warn to restart the computer after changes
This commit is contained in:
parent
3f114444ea
commit
76855da9a9
@ -165,6 +165,8 @@ QLayout *ServicesWindow::setupHeader()
|
|||||||
|
|
||||||
serviceInfoManager()->trackService(serviceInfo.serviceName);
|
serviceInfoManager()->trackService(serviceInfo.serviceName);
|
||||||
updateServiceListModel();
|
updateServiceListModel();
|
||||||
|
|
||||||
|
windowManager()->showInfoBox(tr("Please restart the computer to reload changed services!"));
|
||||||
});
|
});
|
||||||
connect(m_actRevert, &QAction::triggered, this, [&] {
|
connect(m_actRevert, &QAction::triggered, this, [&] {
|
||||||
const auto serviceIndex = serviceListCurrentIndex();
|
const auto serviceIndex = serviceListCurrentIndex();
|
||||||
|
Loading…
Reference in New Issue
Block a user