From e6e5c2a9935d5970c9ed570f86cfec06f0ab75fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Tue, 21 Jul 2009 15:10:08 +0200 Subject: Fix QtMainEventLoop compilation. 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_; }; }; -- cgit v0.10.2-6-g49f6