1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-10-31 22:47:05 +01:00

UI: refactor tokenLabel to address_label

Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
This commit is contained in:
Ralf Ramsauer 2016-07-17 22:36:46 +02:00
parent 367afb4092
commit 5355749c6b
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ MainWindow::~MainWindow()
void MainWindow::setClientmessage(const Clientmessage &msg) void MainWindow::setClientmessage(const Clientmessage &msg)
{ {
ui->qrwidget->setQRData(msg.token()); ui->qrwidget->setQRData(msg.token());
ui->tokenLabel->setText(QString::fromStdString(msg.token())); ui->address->setText(QString::fromStdString(msg.token()));
QString statusMessage(""); QString statusMessage("");
const auto &doormsg = msg.doormessage(); const auto &doormsg = msg.doormessage();

View File

@ -99,7 +99,7 @@
</spacer> </spacer>
</item> </item>
<item> <item>
<widget class="QLabel" name="tokenLabel"> <widget class="QLabel" name="address">
<property name="font"> <property name="font">
<font> <font>
<pointsize>18</pointsize> <pointsize>18</pointsize>