prime.cc: call update() after QR code changed (#25740)

This commit is contained in:
Dean Lee
2022-09-13 01:30:58 +08:00
committed by GitHub
parent 29f9c536b4
commit 722e4641fc
+1
View File
@@ -35,6 +35,7 @@ void PairingQRWidget::refresh() {
QString pairToken = CommaApi::create_jwt({{"pair", true}});
QString qrString = "https://connect.comma.ai/?pair=" + pairToken;
this->updateQrCode(qrString);
update();
}
void PairingQRWidget::updateQrCode(const QString &text) {