diff options
| author | Joel Klinghed <the_jk@yahoo.com> | 2017-08-07 20:43:52 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@yahoo.com> | 2017-08-07 20:43:52 +0200 |
| commit | 2339e7f5e0c048a82782556ee240d74c2ba788db (patch) | |
| tree | b9cc7ac770e867f9dcf08773eb948455a0471a2b /src/gui_qt.cc | |
| parent | 4fd27d0f8f1fd7dd21e35558bd9941435267d35d (diff) | |
fixup! Make sure QtLooper doesn't use QSocketNotifier before QApplication is created
Allow sockets added after init to work
Diffstat (limited to 'src/gui_qt.cc')
| -rw-r--r-- | src/gui_qt.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui_qt.cc b/src/gui_qt.cc index 1d81bd6..9041006 100644 --- a/src/gui_qt.cc +++ b/src/gui_qt.cc @@ -2013,6 +2013,7 @@ private: }; void init() { + init_ = true; for (auto& pair : fds_) { pair.second->init(); } |
