Commit 52336b0e authored by Laurent Montel's avatar Laurent Montel 😁

Add button text

parent 4d6db6ae
......@@ -37,7 +37,7 @@ PrintPreviewDialog::PrintPreviewDialog(QWidget *parent)
mPrintPreviewWidget->setObjectName(QStringLiteral("printpreviewwidget"));
layout->addWidget(mPrintPreviewWidget);
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Close);
QPushButton *printButton = new QPushButton;
QPushButton *printButton = new QPushButton(i18n("Print"));
printButton->setObjectName(QStringLiteral("printbutton"));
connect(printButton, &QPushButton::clicked, this, &PrintPreviewDialog::slotPrint);
buttonBox->addButton(printButton, QDialogButtonBox::ActionRole);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment