mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-04-21 21:52:03 +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();
|
||||
connect(connection_, &QLocalSocket::readyRead, this, [this] {
|
||||
QLocalSocket* clientSocket = (QLocalSocket*) sender();
|
||||
QByteArray recievedData;
|
||||
recievedData = clientSocket->readAll();
|
||||
if (recievedData == terminateSeq_) {
|
||||
QByteArray receivedData;
|
||||
receivedData = clientSocket->readAll();
|
||||
if (receivedData == terminateSeq_) {
|
||||
qWarning() << "Received terminate signal.";
|
||||
mainAppInstance_->quit();
|
||||
} else {
|
||||
qDebug() << "Received start URI:" << recievedData;
|
||||
auto startUri = QString::fromLatin1(recievedData);
|
||||
qDebug() << "Received start URI:" << receivedData;
|
||||
auto startUri = QString::fromLatin1(receivedData);
|
||||
mainAppInstance_->handleUriAction(startUri);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue