mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 06:55:59 +03:00
winEventFilter does not exist on Qt5
This commit is contained in:
parent
c8006f1163
commit
50aa31d192
2 changed files with 2 additions and 2 deletions
|
@ -436,7 +436,7 @@ void Application::setHelp()
|
|||
_helpOnly = true;
|
||||
}
|
||||
|
||||
#if defined(Q_OS_WIN)
|
||||
#if defined(Q_OS_WIN) && QT_VERSION < QT_VERSION_CHECK(5,0,0)
|
||||
bool Application::winEventFilter(MSG *pMsg, long *result)
|
||||
{
|
||||
if (pMsg->message == WM_POWERBROADCAST) {
|
||||
|
|
|
@ -59,7 +59,7 @@ protected:
|
|||
bool checkConfigExists(bool openSettings);
|
||||
|
||||
// reimplemented
|
||||
#if defined(Q_WS_WIN)
|
||||
#if defined(Q_OS_WIN) && QT_VERSION < QT_VERSION_CHECK(5,0,0)
|
||||
bool winEventFilter( MSG * message, long * result );
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue