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

Merge pull request #601 from keepassxreboot/hotfix/compile-error

Fixed variable naming error that prevented compiling on Windows
This commit is contained in:
TheZ3ro 2017-05-28 09:31:03 +02:00 committed by GitHub
commit 8a1b83048f

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