UI changes for HDPI.

Voucher could be marked as EET not entering.
This commit is contained in:
2017-03-11 21:05:11 +01:00
parent e028116ab8
commit 94e4edc6e6
4 changed files with 27 additions and 18 deletions
+2
View File
@@ -333,6 +333,8 @@ void ShopForm::on_payButton_clicked()
connect(dialog, &QDialog::accepted, [this, dialog](){
ShopService srv;
srv.pay(m_voucher);
m_voucher->setEetStatus(dialog->sendToEet() ? Voucher::EET_FOR_SEND : Voucher::EET_NOT_ENTERING);
srv.update(m_voucher);
QString eetMsg;
if (srv.isEetEnabled() && dialog->sendToEet())