aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMichael Dominic K <mdk@codethink.co.uk>2009-07-31 17:23:17 +0200
committerMichael Dominic K <mdk@codethink.co.uk>2009-07-31 17:23:17 +0200
commit3402e77d26aec4353701966b33b15f9beaca8137 (patch)
tree3cb5ab760f52b5dd94178de8414d591f27d6b488 /common
parent19bb7e8da13a787c45580a60c549092e40374529 (diff)
Moving subscriber to new common infrastructure.
Diffstat (limited to 'common')
-rw-r--r--common/sconnect.h4
1 files changed, 2 insertions, 2 deletions
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 <QDebug>
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"