diff options
| author | Krzysztof Starecki <krzysztof.starecki@gmail.com> | 2019-02-16 13:34:20 +0100 |
|---|---|---|
| committer | Krzysztof Starecki <krzysztof.starecki@gmail.com> | 2019-02-16 13:34:20 +0100 |
| commit | b1f91d28fb67dac1292cddc745397de7c927e232 (patch) | |
| tree | 1b8a9906b8d3035e7805508674369ae6904c12c2 /src/singleinstance.cpp | |
| parent | 55249ba3a6e2b4d51c259c0eff0c1d97ab6be614 (diff) | |
| parent | c19ba153376f5d8f4026a46701bb0f7c115c1651 (diff) | |
Merge branch 'Develop' into double-install-fix
Diffstat (limited to 'src/singleinstance.cpp')
| -rw-r--r-- | src/singleinstance.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/singleinstance.cpp b/src/singleinstance.cpp index 89332f9b..7abf3879 100644 --- a/src/singleinstance.cpp +++ b/src/singleinstance.cpp @@ -54,7 +54,7 @@ SingleInstance::SingleInstance(bool forcePrimary, QObject *parent) : m_PrimaryInstance = true;
}
if (m_PrimaryInstance) {
- connect(&m_Server, SIGNAL(newConnection()), this, SLOT(receiveMessage()));
+ connect(&m_Server, SIGNAL(newConnection()), this, SLOT(receiveMessage()), Qt::QueuedConnection);
// has to be called before listen
m_Server.setSocketOptions(QLocalServer::WorldAccessOption);
m_Server.listen(s_Key);
|
