From c3496cca1d36b92b66db11c30f06567813f2083d Mon Sep 17 00:00:00 2001
From: Elliu <elliu@hashi.re>
Date: Thu, 13 Jan 2022 00:20:58 +0100
Subject: [PATCH] Remove poller thread related stuff

---
 src/module/module_qt_window.cc | 2 --
 src/module/module_qt_window.hh | 1 -
 2 files changed, 3 deletions(-)

diff --git a/src/module/module_qt_window.cc b/src/module/module_qt_window.cc
index ae5d7890..22cf5457 100644
--- a/src/module/module_qt_window.cc
+++ b/src/module/module_qt_window.cc
@@ -4,7 +4,6 @@
 #include <lektor/lktmodule.h>
 #include <sched.h>
 #include "mpv.h"
-#include "thread.h"
 
 #include "qt_window/mpvwidget_interface.hh"
 
@@ -197,7 +196,6 @@ module_qt_window_new(struct module_qt_window_s **win, struct queue *queue, lkt_d
 
         (*win)->queue = queue;
         (*win)->db    = db;
-        (*win)->reg   = qt_window_reg;
 
         pthread_t thread;
         RETURN_IF(pthread_create(&thread, nullptr, ___create_mpv_widget, *win), "Failed to launch the Qt thread", false);
diff --git a/src/module/module_qt_window.hh b/src/module/module_qt_window.hh
index fa0e2869..9ac08807 100644
--- a/src/module/module_qt_window.hh
+++ b/src/module/module_qt_window.hh
@@ -10,7 +10,6 @@ struct module_qt_window_s {
     MainWindow *main_window;
     MpvWidget *mpv_widget;
 
-    struct poller_thread self;
     struct module_reg *reg;
 
     /* Things from the server */
-- 
GitLab