From bfee7346699e73916edf13abe09f5c5ceb03a661 Mon Sep 17 00:00:00 2001 From: Jonathan White Date: Sat, 27 May 2017 21:33:30 -0400 Subject: [PATCH] Fixed variable naming error that prevented compiling on Windows --- src/core/ScreenLockListenerWin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/ScreenLockListenerWin.cpp b/src/core/ScreenLockListenerWin.cpp index a1bf13d4f..80fa32894 100644 --- a/src/core/ScreenLockListenerWin.cpp +++ b/src/core/ScreenLockListenerWin.cpp @@ -52,8 +52,8 @@ ScreenLockListenerWin::~ScreenLockListenerWin() HWND h= reinterpret_cast(static_cast(parent())->winId()); WTSUnRegisterSessionNotification(h); - if (m_powernotificationhandle) { - UnregisterPowerSettingNotification(reinterpret_cast(m_powernotificationhandle)); + if (m_powerNotificationHandle) { + UnregisterPowerSettingNotification(reinterpret_cast(m_powerNotificationHandle)); } }