summaryrefslogtreecommitdiff
path: root/src/gui_main.hh
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@yahoo.com>2017-08-06 22:12:08 +0200
committerJoel Klinghed <the_jk@yahoo.com>2017-08-06 22:24:59 +0200
commit9d586aec3a5615377e389318e97e7d756c970c96 (patch)
tree8f2bf46ab5020a97482fbe87b6f1337842c70a19 /src/gui_main.hh
parentbe1dc86b5434e84a88ba2e62873d87c62f8880c0 (diff)
Make sure QtLooper doesn't use QSocketNotifier before QApplication is created
Diffstat (limited to 'src/gui_main.hh')
-rw-r--r--src/gui_main.hh2
1 files changed, 1 insertions, 1 deletions
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;