diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-07-21 13:10:08 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-07-21 13:10:08 (GMT) |
commit | e6e5c2a9935d5970c9ed570f86cfec06f0ab75fd (patch) | |
tree | 77fbb8076b8ca9b16a42430d5d9205d54f067616 | |
parent | 97ccbb55df2af9268f37e0bad7109d958acf6d19 (diff) | |
download | swift-contrib-e6e5c2a9935d5970c9ed570f86cfec06f0ab75fd.zip swift-contrib-e6e5c2a9935d5970c9ed570f86cfec06f0ab75fd.tar.bz2 |
Fix QtMainEventLoop compilation.
-rw-r--r-- | Swift/QtUI/QtMainEventLoop.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Swift/QtUI/QtMainEventLoop.h b/Swift/QtUI/QtMainEventLoop.h index 678ea04..2df3ad0 100644 --- a/Swift/QtUI/QtMainEventLoop.h +++ b/Swift/QtUI/QtMainEventLoop.h @@ -12,7 +12,7 @@ class QtMainEventLoop : public QObject, public Swift::EventLoop public: QtMainEventLoop() {} - virtual void post(const Event& event) { + virtual void post(const Swift::Event& event) { QCoreApplication::postEvent(this, new Event(event)); } @@ -29,11 +29,11 @@ class QtMainEventLoop : public QObject, public Swift::EventLoop private: struct Event : public QEvent { - Event(const EventLoop::Event& event) : + Event(const Swift::Event& event) : QEvent(QEvent::User), event_(event) { } - EventLoop::Event event_; + Swift::Event event_; }; }; |