From 9d586aec3a5615377e389318e97e7d756c970c96 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Sun, 6 Aug 2017 22:12:08 +0200 Subject: Make sure QtLooper doesn't use QSocketNotifier before QApplication is created --- src/gui_main.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui_main.hh') diff --git a/src/gui_main.hh b/src/gui_main.hh index d56804c..1070c0d 100644 --- a/src/gui_main.hh +++ b/src/gui_main.hh @@ -34,7 +34,7 @@ public: static GuiMain* create(std::string const& title, uint32_t width, uint32_t height); - static Looper* createLooper(); + virtual Looper* create_looper() = 0; virtual void set_menu(GuiMenu* menu) = 0; virtual GuiMenu* menu() const = 0; -- cgit v1.2.3-70-g09d2