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() {