Skip to content

Commit

Permalink
Removed pixmap
Browse files Browse the repository at this point in the history
  • Loading branch information
Lauris Kaplinski committed Jun 10, 2024
1 parent ff22514 commit 83d06cd
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/ui/webeiddialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -749,11 +749,17 @@ WebEidDialog::retriableErrorToTextTitleAndIcon(const RetriableError error) noexc
QT_TR_NOOP("Operation not supported"), "no-id-card"_L1};

case RetriableError::SMART_CARD_COMMAND_ERROR:
return {QT_TR_NOOP("Error communicating with the card."), QT_TR_NOOP("Operation failed"),
pixmap("no-id-card"_L1)};
return {
QT_TR_NOOP(
"Error communicating with the card."),
QT_TR_NOOP("Operation failed"), "no-id-card"_L1};

case RetriableError::PKCS11_ERROR:
return {QT_TR_NOOP("Card driver error. Please try again."), QT_TR_NOOP("Card driver error"),
pixmap("no-id-card"_L1)};
return {
QT_TR_NOOP(
"Card driver error. Please try again."),
QT_TR_NOOP("Card driver error"), "no-id-card"_L1};

case RetriableError::SCARD_ERROR:
return {QT_TR_NOOP(
"An error occurred in the Smart Card service required to use the ID-card. Make "
Expand Down

0 comments on commit 83d06cd

Please sign in to comment.