Skip to content
Snippets Groups Projects
Commit 8b17b9e3 authored by ovari's avatar ovari
Browse files

instancemanager.cpp: fix typo

Change-Id: Ib1fb914135056fc4f87c8b0f461219473495c8dc
parent c2d5c3b7
No related branches found
No related tags found
No related merge requests found
...@@ -141,14 +141,14 @@ private Q_SLOTS: ...@@ -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);
} }
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment