summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2016-05-22 07:46:34 +0200
committerMontel Laurent <[email protected]>2016-05-22 07:46:47 +0200
commit52336b0e1e71888a391b764b81d0a7d841fa0588 (patch)
tree1b47c682e142f415c7b12044e65b1957d72efc4c
parent4d6db6ae2b316444cff02a23466bd15b810ee554 (diff)
Add button text
-rw-r--r--webengineviewer/src/print/printpreviewdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/webengineviewer/src/print/printpreviewdialog.cpp b/webengineviewer/src/print/printpreviewdialog.cpp
index 872e971..4cfda2b 100644
--- a/webengineviewer/src/print/printpreviewdialog.cpp
+++ b/webengineviewer/src/print/printpreviewdialog.cpp
@@ -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);