0
0
mirror of https://github.com/keepassxreboot/keepassxc.git synced 2024-09-20 12:22:16 +02:00

Fixed variable naming error that prevented compiling on Windows

This commit is contained in:
Jonathan White 2017-05-27 21:33:30 -04:00
parent 22d533c451
commit bfee734669
No known key found for this signature in database
GPG Key ID: 440FC65F2E0C6E01

View File

@ -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));
}
}