summaryrefslogtreecommitdiff
path: root/test/event-thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/event-thread.cpp')
-rw-r--r--test/event-thread.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/test/event-thread.cpp b/test/event-thread.cpp
index 5488a44a..714bc984 100644
--- a/test/event-thread.cpp
+++ b/test/event-thread.cpp
@@ -27,7 +27,7 @@ public:
{
pipe(pipefd_);
- notifier_ = new EventNotifier(pipefd_[0], EventNotifier::Read);
+ notifier_ = new EventNotifier(pipefd_[0], EventNotifier::Read, this);
notifier_->activated.connect(this, &EventHandler::readReady);
}
@@ -61,12 +61,6 @@ public:
return notified_;
}
- void moveToThread(Thread *thread)
- {
- Object::moveToThread(thread);
- notifier_->moveToThread(thread);
- }
-
private:
void readReady(EventNotifier *notifier)
{