[vlc-devel] [PATCH 4/5] qt4: Add a QCONNECT macro to force queued connection
Hugo Beauzée-Luyssen
hugo at beauzee.fr
Sun Dec 6 11:49:09 CET 2015
---
modules/gui/qt4/qt4.hpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/gui/qt4/qt4.hpp b/modules/gui/qt4/qt4.hpp
index bf3e2a2..535d3fe 100644
--- a/modules/gui/qt4/qt4.hpp
+++ b/modules/gui/qt4/qt4.hpp
@@ -113,6 +113,8 @@ struct intf_sys_t
connect( a, SIGNAL(b), c, SLOT(d) )
#define DCONNECT( a, b, c, d ) \
connect( a, SIGNAL(b), c, SLOT(d), Qt::DirectConnection )
+#define QCONNECT( a, b, c, d ) \
+ connect( a, SIGNAL(b), c, SLOT(d), Qt::QueuedConnection )
#define BUTTONACT( b, a ) connect( b, SIGNAL(clicked()), this, SLOT(a) )
#define BUTTON_SET( button, text, tooltip ) \
--
2.6.2
More information about the vlc-devel
mailing list