Commit c4a0e4c9 authored by NICLAUSSE Nicolas's avatar NICLAUSSE Nicolas
Browse files

QCOreApplication::EventFilter typedef no longer exists in qt5

parent 2620805d
......@@ -448,7 +448,8 @@ public:
QStringList serviceArgs;
static dtkDistributedServiceSysPrivate *instance;
static QCoreApplication::EventFilter nextFilter;
static EventFilter nextFilter;
QWaitCondition condition;
QMutex mutex;
......@@ -472,7 +473,7 @@ void dtkDistributedServiceControllerHandler::customEvent(QEvent *e)
dtkDistributedServiceSysPrivate *dtkDistributedServiceSysPrivate::instance = 0;
QCoreApplication::EventFilter dtkDistributedServiceSysPrivate::nextFilter = 0;
EventFilter dtkDistributedServiceSysPrivate::nextFilter = 0;
dtkDistributedServiceSysPrivate::dtkDistributedServiceSysPrivate(void)
{
......
......@@ -22,6 +22,8 @@
#include <QtCore>
typedef bool (*EventFilter)(void *message, long *result);
class dtkDistributedServiceSysPrivate;
class dtkDistributedServiceControllerHandler : public QObject
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment