From 8faa86a132a495ff5a5fbccd4dae14fce579c35d Mon Sep 17 00:00:00 2001 From: kelteseth Date: Fri, 7 Sep 2018 18:53:18 +0200 Subject: [PATCH] Fix appid check --- ScreenPlay/src/sdkconnector.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ScreenPlay/src/sdkconnector.h b/ScreenPlay/src/sdkconnector.h index 382b06e8..69b751c9 100644 --- a/ScreenPlay/src/sdkconnector.h +++ b/ScreenPlay/src/sdkconnector.h @@ -80,10 +80,10 @@ public slots: void readyRead() { QString msg = QString(m_socket->readAll()); - qDebug() << msg; - if (msg.contains("appID=")) { + qDebug() << "SDK CONNECTOR "<< msg; + if (msg.startsWith("appID=")) { m_appID = msg.remove("appID="); - //m_monitor.append(m_sp->getMonitorByAppID(m_appID).at(0)); + qDebug() << m_appID << m_monitor; } }