[libcalamaresui] Use translation fix for Error Dialog
This commit is contained in:
parent
32c5e18db0
commit
bfa7b9a792
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
#include <QIcon>
|
#include <QIcon>
|
||||||
#include <QDialogButtonBox>
|
#include <QDialogButtonBox>
|
||||||
|
#include "widgets/TranslationFix.h"
|
||||||
|
|
||||||
namespace Calamares {
|
namespace Calamares {
|
||||||
|
|
||||||
@ -82,6 +83,7 @@ void ErrorDialog::setShouldOfferWebPaste(bool newShouldOfferWebPaste)
|
|||||||
? (QDialogButtonBox::Yes | QDialogButtonBox::No)
|
? (QDialogButtonBox::Yes | QDialogButtonBox::No)
|
||||||
: QDialogButtonBox::Close );
|
: QDialogButtonBox::Close );
|
||||||
|
|
||||||
|
fixButtonLabels(ui->buttonBox);
|
||||||
|
|
||||||
emit shouldOfferWebPasteChanged();
|
emit shouldOfferWebPasteChanged();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user