mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-04-23 06:32:02 +02:00
instancemanager.cpp: fix typo
Change-Id: Ib1fb914135056fc4f87c8b0f461219473495c8dc
This commit is contained in:
parent
c2d5c3b764
commit
8b17b9e3cf
1 changed files with 5 additions and 5 deletions
|
@ -141,14 +141,14 @@ private Q_SLOTS:
|
||||||
connection_ = server_->nextPendingConnection();
|
connection_ = server_->nextPendingConnection();
|
||||||
connect(connection_, &QLocalSocket::readyRead, this, [this] {
|
connect(connection_, &QLocalSocket::readyRead, this, [this] {
|
||||||
QLocalSocket* clientSocket = (QLocalSocket*) sender();
|
QLocalSocket* clientSocket = (QLocalSocket*) sender();
|
||||||
QByteArray recievedData;
|
QByteArray receivedData;
|
||||||
recievedData = clientSocket->readAll();
|
receivedData = clientSocket->readAll();
|
||||||
if (recievedData == terminateSeq_) {
|
if (receivedData == terminateSeq_) {
|
||||||
qWarning() << "Received terminate signal.";
|
qWarning() << "Received terminate signal.";
|
||||||
mainAppInstance_->quit();
|
mainAppInstance_->quit();
|
||||||
} else {
|
} else {
|
||||||
qDebug() << "Received start URI:" << recievedData;
|
qDebug() << "Received start URI:" << receivedData;
|
||||||
auto startUri = QString::fromLatin1(recievedData);
|
auto startUri = QString::fromLatin1(receivedData);
|
||||||
mainAppInstance_->handleUriAction(startUri);
|
mainAppInstance_->handleUriAction(startUri);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue