Skip to content

Commit

Permalink
Register MyEventFilter
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiatesan committed Oct 1, 2015
1 parent 7a581a1 commit ab74bb9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions qevent_test/main.cpp
@@ -1,10 +1,13 @@
#include <QApplication>
#include <QQmlApplicationEngine>
#include <myeventfilter.h>

int main(int argc, char *argv[])
{
QApplication app(argc, argv);

app.installEventFilter(new MyEventFilter());

QQmlApplicationEngine engine;
engine.load(QUrl(QStringLiteral("qrc:/main.qml")));

Expand Down

0 comments on commit ab74bb9

Please sign in to comment.