Avoid warning in MacOS implementation

This commit is contained in:
Claudio Bantaloukas 2016-12-31 01:32:29 +01:00 committed by thez3ro
parent a3af8fc0ea
commit 44085df592
No known key found for this signature in database
GPG Key ID: F628F9E41DD7C073

View File

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