Browse Source

Show the connection string manually

pull/45/head
adityapk00 5 years ago
parent
commit
b68449495e
  1. 16
      src/mobileappconnector.ui
  2. 1
      src/websockets.cpp

16
src/mobileappconnector.ui

@ -59,6 +59,20 @@
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Connection String</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLineEdit" name="txtConnStr">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
@ -97,7 +111,7 @@
<item row="0" column="0">
<widget class="QLabel" name="lblRemoteName">
<property name="text">
<string>TextLabel</string>
<string notr="true">TextLabel</string>
</property>
</widget>
</item>

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

Loading…
Cancel
Save