From 3402e77d26aec4353701966b33b15f9beaca8137 Mon Sep 17 00:00:00 2001 From: Michael Dominic K Date: Fri, 31 Jul 2009 17:23:17 +0200 Subject: Moving subscriber to new common infrastructure. --- common/sconnect.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common') diff --git a/common/sconnect.h b/common/sconnect.h index ac8d0509..3743e9b2 100644 --- a/common/sconnect.h +++ b/common/sconnect.h @@ -26,9 +26,9 @@ #include inline void sconnect(const QObject *from, const char* fromSignal, - const QObject *to, const char* toSignal) + const QObject *to, const char* toSignal, Qt::ConnectionType type = Qt::AutoConnection) { - if (!QObject::connect(from, fromSignal, to, toSignal)) + if (!QObject::connect(from, fromSignal, to, toSignal, type)) qFatal(" *****************\n" "Connect returned false, aborting, enable core dumping (ulimit -c unlimited), \n" "enable debug (qmake CONFIG+=debug), recompile, rerun and then use the\n" -- cgit v1.2.3