mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-30 01:58:41 -04:00
Merge branch 'develop' into fix-bugs-link
This commit is contained in:
commit
e6cddf797a
1 changed files with 2 additions and 2 deletions
|
@ -52,8 +52,8 @@ ScreenLockListenerWin::~ScreenLockListenerWin()
|
|||
HWND h= reinterpret_cast<HWND>(static_cast<QWidget*>(parent())->winId());
|
||||
WTSUnRegisterSessionNotification(h);
|
||||
|
||||
if (m_powernotificationhandle) {
|
||||
UnregisterPowerSettingNotification(reinterpret_cast<HPOWERNOTIFY>(m_powernotificationhandle));
|
||||
if (m_powerNotificationHandle) {
|
||||
UnregisterPowerSettingNotification(reinterpret_cast<HPOWERNOTIFY>(m_powerNotificationHandle));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue