mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-06 15:13:57 +02:00
fixed single instance checking
This commit is contained in:
parent
5f84567bbb
commit
d672353ff9
1 changed files with 1 additions and 1 deletions
|
@ -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(error(QLocalSocket::LocalSocketError)), this, SLOT(socketError(QLocalSocket::LocalSocketError)));
|
||||||
connect(&_localSocket, SIGNAL(bytesWritten(qint64)), this, SLOT(socketWritten(qint64)));
|
connect(&_localSocket, SIGNAL(bytesWritten(qint64)), this, SLOT(socketWritten(qint64)));
|
||||||
connect(&_localSocket, SIGNAL(readyRead()), this, SLOT(socketReading()));
|
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
|
#ifndef TDESKTOP_DISABLE_AUTOUPDATE
|
||||||
connect(&_updateCheckTimer, SIGNAL(timeout()), this, SLOT(updateCheck()));
|
connect(&_updateCheckTimer, SIGNAL(timeout()), this, SLOT(updateCheck()));
|
||||||
|
|
Loading…
Add table
Reference in a new issue