From b68449495e64b18610a59e89d4f1615c25bd8a14 Mon Sep 17 00:00:00 2001 From: adityapk00 Date: Sun, 3 Feb 2019 19:58:33 -0800 Subject: [PATCH] Show the connection string manually --- src/mobileappconnector.ui | 16 +++++++++++++++- src/websockets.cpp | 1 + 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/src/mobileappconnector.ui b/src/mobileappconnector.ui index a2db0a4..120ff3b 100644 --- a/src/mobileappconnector.ui +++ b/src/mobileappconnector.ui @@ -59,6 +59,20 @@ + + + + Connection String + + + + + + + true + + + @@ -97,7 +111,7 @@ - TextLabel + TextLabel diff --git a/src/websockets.cpp b/src/websockets.cpp index ffd2c63..d0426fc 100644 --- a/src/websockets.cpp +++ b/src/websockets.cpp @@ -146,6 +146,7 @@ void AppDataServer::updateUIWithNewQRCode() { QString codeStr = uri + "," + secretStr; ui->qrcode->setQrcodeString(codeStr); + ui->txtConnStr->setText(codeStr); } void AppDataServer::updateConnectedUI() {