Update BoxImageWindow.cpp

Add missing breaks in 'switch (m_Action)' statement.
This commit is contained in:
offhub 2023-09-10 12:23:59 +03:00
parent c3c04f18a2
commit d0c836964a
1 changed files with 2 additions and 0 deletions

View File

@ -44,9 +44,11 @@ CBoxImageWindow::CBoxImageWindow(EAction Action, QWidget *parent)
case eChange: case eChange:
ui.lblInfo->setText(tr("Enter Box Image passwords:")); ui.lblInfo->setText(tr("Enter Box Image passwords:"));
ui.lblIcon->setPixmap(QPixmap::fromImage(QImage(":/Actions/LockClosed.png"))); ui.lblIcon->setPixmap(QPixmap::fromImage(QImage(":/Actions/LockClosed.png")));
break;
case eExport: case eExport:
ui.lblInfo->setText(tr("Enter Encryption passwords for archive export:")); ui.lblInfo->setText(tr("Enter Encryption passwords for archive export:"));
ui.lblIcon->setPixmap(QPixmap::fromImage(QImage(":/Actions/LockClosed.png"))); ui.lblIcon->setPixmap(QPixmap::fromImage(QImage(":/Actions/LockClosed.png")));
break;
case eImport: case eImport:
ui.lblInfo->setText(tr("Enter Encryption passwords for archive import:")); ui.lblInfo->setText(tr("Enter Encryption passwords for archive import:"));
ui.lblIcon->setPixmap(QPixmap::fromImage(QImage(":/Actions/LockOpen.png"))); ui.lblIcon->setPixmap(QPixmap::fromImage(QImage(":/Actions/LockOpen.png")));