winEventFilter does not exist on Qt5

This commit is contained in:
Olivier Goffart 2014-01-28 15:30:58 +01:00
parent c8006f1163
commit 50aa31d192
2 changed files with 2 additions and 2 deletions

View file

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

View file

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