From 2dd9a4e553226897940948e946c64504b7f14fca Mon Sep 17 00:00:00 2001 From: Itay Grudev Date: Sat, 6 Jun 2015 00:26:41 +0300 Subject: Fixed race condition #3! Library version 2.1; Explained implementation in README --- singleapplication.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'singleapplication.h') diff --git a/singleapplication.h b/singleapplication.h index d49f8b1..669f878 100644 --- a/singleapplication.h +++ b/singleapplication.h @@ -2,8 +2,8 @@ #define SINGLE_APPLICATION_H #include -#include -#include + +class SingleApplicationPrivate; /** * @brief The SingleApplication class handles multipe instances of the same Application @@ -23,9 +23,7 @@ private slots: void slotConnectionEstablished(); private: - QLocalSocket *socket; - QLocalServer *server; - + SingleApplicationPrivate *d_ptr; }; #endif // SINGLE_APPLICATION_H -- cgit v1.2.1