diff --git a/src/core/ScreenLockListenerPrivate.cpp b/src/core/ScreenLockListenerPrivate.cpp index e9355c7d0..6f3f7bbf8 100644 --- a/src/core/ScreenLockListenerPrivate.cpp +++ b/src/core/ScreenLockListenerPrivate.cpp @@ -15,6 +15,7 @@ ScreenLockListenerPrivate::ScreenLockListenerPrivate(QWidget* parent): ScreenLockListenerPrivate* ScreenLockListenerPrivate::instance(QWidget* parent){ #if defined(Q_OS_OSX) + Q_UNUSED(parent); return ScreenLockListenerMac::instance(); #endif #if defined(Q_OS_LINUX)