summaryrefslogtreecommitdiffstats
path: root/src/x11_in_qt4.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-03-19 04:43:45 +0000
committerDavid Robillard <d@drobilla.net>2013-03-19 04:43:45 +0000
commit0551bae284d3b860930e9feee3e267a8014f0a0b (patch)
tree827402bf8226e212aa8c9f7d776ee439d2a9974e /src/x11_in_qt4.cpp
parente77cc9a1956a1ce74d2d784ab4cfcaddf89ff3d7 (diff)
downloadsuil-0551bae284d3b860930e9feee3e267a8014f0a0b.tar.gz
suil-0551bae284d3b860930e9feee3e267a8014f0a0b.tar.bz2
suil-0551bae284d3b860930e9feee3e267a8014f0a0b.zip
Fix Qt timer stuff.
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@5093 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/x11_in_qt4.cpp')
-rw-r--r--src/x11_in_qt4.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/x11_in_qt4.cpp b/src/x11_in_qt4.cpp
index 916b384..495da68 100644
--- a/src/x11_in_qt4.cpp
+++ b/src/x11_in_qt4.cpp
@@ -40,7 +40,7 @@ public:
#ifdef HAVE_NEW_LV2
void showEvent(QShowEvent* event) {
- if (_idle_iface) {
+ if (_idle_iface && _ui_timer == 0) {
_ui_timer = this->startTimer(30);
}
QX11EmbedContainer::showEvent(event);
@@ -50,6 +50,7 @@ public:
if (event->timerId() == _ui_timer && _idle_iface) {
_idle_iface->idle(_instance->handle);
}
+ QX11EmbedContainer::timerEvent(event);
}
#endif