mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-01-25 00:34:49 +00:00
fixed single instance checking
This commit is contained in:
parent
5f84567bbb
commit
d672353ff9
@ -149,7 +149,7 @@ Application::Application(int &argc, char **argv) : QApplication(argc, argv)
|
||||
connect(&_localSocket, SIGNAL(error(QLocalSocket::LocalSocketError)), this, SLOT(socketError(QLocalSocket::LocalSocketError)));
|
||||
connect(&_localSocket, SIGNAL(bytesWritten(qint64)), this, SLOT(socketWritten(qint64)));
|
||||
connect(&_localSocket, SIGNAL(readyRead()), this, SLOT(socketReading()));
|
||||
connect(&_localSocket, SIGNAL(newConnection()), this, SLOT(newInstanceConnected()));
|
||||
connect(&_localServer, SIGNAL(newConnection()), this, SLOT(newInstanceConnected()));
|
||||
|
||||
#ifndef TDESKTOP_DISABLE_AUTOUPDATE
|
||||
connect(&_updateCheckTimer, SIGNAL(timeout()), this, SLOT(updateCheck()));
|
||||
|
Loading…
Reference in New Issue
Block a user