summaryrefslogtreecommitdiff
path: root/platform/qt/src/run_loop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/qt/src/run_loop.cpp')
-rw-r--r--platform/qt/src/run_loop.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/platform/qt/src/run_loop.cpp b/platform/qt/src/run_loop.cpp
index af0c50ebb9..c25243c8e7 100644
--- a/platform/qt/src/run_loop.cpp
+++ b/platform/qt/src/run_loop.cpp
@@ -52,11 +52,8 @@ LOOP_HANDLE RunLoop::getLoopHandle() {
return nullptr;
}
-void RunLoop::push(std::shared_ptr<WorkTask> task) {
- withMutex([&] {
- queue.push(std::move(task));
- impl->async->send();
- });
+void RunLoop::wake() {
+ impl->async->send();
}
void RunLoop::run() {