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 | d23466f036618760de16ee874a3c076f05fe6087 (patch) | |
| tree | d82effc7d9294284ec886b8a2d65da6c7b726485 /src/singleinstance.cpp | |
| parent | 53896e66f113519253892903404264b4e49ab8a6 (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);
}
}
|
