diff options
| author | Tannin <devnull@localhost> | 2014-11-14 23:33:49 +0100 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2014-11-14 23:33:49 +0100 |
| commit | 9907437d937060a55a91c085c1d82e12b995bc01 (patch) | |
| tree | 62a625d81b7344edb6f7a1c74263ccf392e0935d /src/singleinstance.cpp | |
| parent | 3b7a468f73a11ee92be5200de4575ef749db51c3 (diff) | |
- fixed manifest for qt5
- download messages can now be sent from different user accounts
Diffstat (limited to 'src/singleinstance.cpp')
| -rw-r--r-- | src/singleinstance.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/singleinstance.cpp b/src/singleinstance.cpp index a1928523..dcb0fc78 100644 --- a/src/singleinstance.cpp +++ b/src/singleinstance.cpp @@ -54,6 +54,8 @@ SingleInstance::SingleInstance(bool forcePrimary, QObject *parent) : }
if (m_PrimaryInstance) {
connect(&m_Server, SIGNAL(newConnection()), this, SLOT(receiveMessage()));
+ // has to be called before listen
+ m_Server.setSocketOptions(QLocalServer::WorldAccessOption);
m_Server.listen(s_Key);
}
}
|
