From e394e3fa2a6ee6533dd6056c284b7b1e662ef333 Mon Sep 17 00:00:00 2001 From: Jeremy Hu Date: Sun, 22 Dec 2019 13:30:10 +0930 Subject: [PATCH] Hide regenerate button on export widget There is no need to regenerate as the result mostly is the same --- src/exportpreviewwidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/exportpreviewwidget.cpp b/src/exportpreviewwidget.cpp index 0742e3d1..b9a3dbcd 100644 --- a/src/exportpreviewwidget.cpp +++ b/src/exportpreviewwidget.cpp @@ -36,6 +36,7 @@ ExportPreviewWidget::ExportPreviewWidget(Document *document, QWidget *parent) : //QPushButton *regenerateButton = new QPushButton(QChar(fa::recycle)); //initAwesomeButton(regenerateButton); QPushButton *regenerateButton = new QPushButton(tr("Regenerate")); + regenerateButton->hide(); connect(this, &ExportPreviewWidget::regenerate, this, &ExportPreviewWidget::checkSpinner); connect(regenerateButton, &QPushButton::clicked, this, &ExportPreviewWidget::regenerate);