mirror of
https://github.com/wownero/wowlet.git
synced 2026-12-04 14:03:59 +01:00
PaymentRequestDialog
This commit is contained in:
@@ -57,4 +57,12 @@ void QrCodeWidget::paintEvent(QPaintEvent *event) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
bool QrCodeWidget::hasHeightForWidth() const {
|
||||
return true;
|
||||
}
|
||||
|
||||
int QrCodeWidget::heightForWidth(int w) const {
|
||||
return w;
|
||||
}
|
||||
@@ -18,6 +18,8 @@ public:
|
||||
|
||||
protected:
|
||||
void paintEvent(QPaintEvent *event) override;
|
||||
int heightForWidth(int w) const override;
|
||||
bool hasHeightForWidth() const override;
|
||||
|
||||
private:
|
||||
QrCode *m_qrcode = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user