aboutsummaryrefslogtreecommitdiff
path: root/common/sconnect.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/sconnect.h')
-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"