aboutsummaryrefslogtreecommitdiff
path: root/singleapplication_p.h
diff options
context:
space:
mode:
authorItay Grudev <itay@grudev.com>2017-04-23 14:31:32 +0300
committerItay Grudev <itay@grudev.com>2017-04-23 14:31:32 +0300
commitc2a6faca68379e02dead9d6303e29fe1b9960994 (patch)
treeb9624bba40877a23bc1ddc34282ad941245da30c /singleapplication_p.h
parentFixed compilation error: cannot convert wchar_t* to LPSTR {aka char*} (#29) (diff)
downloadsingleapplication-c2a6faca68379e02dead9d6303e29fe1b9960994.tar.xz
Removed QMutex for thread safe behaviour and support for multiple SingleApplication instances
Problem raised by @retmas in #24
Diffstat (limited to 'singleapplication_p.h')
-rw-r--r--singleapplication_p.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/singleapplication_p.h b/singleapplication_p.h
index 266cbea..833e731 100644
--- a/singleapplication_p.h
+++ b/singleapplication_p.h
@@ -32,7 +32,6 @@
#ifndef SINGLEAPPLICATION_P_H
#define SINGLEAPPLICATION_P_H
-#include <QtCore/QMutex>
#include <QtCore/QSharedMemory>
#include <QtNetwork/QLocalServer>
#include <QtNetwork/QLocalSocket>
@@ -59,8 +58,6 @@ public:
#ifdef Q_OS_UNIX
void crashHandler();
static void terminate( int signum );
- static QList<SingleApplicationPrivate*> sharedMem;
- static QMutex sharedMemMutex;
#endif
QSharedMemory *memory;