From 3f93b53db298bf908e0b6f8988f6bb3a9563e9e1 Mon Sep 17 00:00:00 2001 From: SimplestStudio Date: Wed, 27 Aug 2025 17:40:51 +0300 Subject: [PATCH] [win-linux] cprintprogress: small refactoring --- win-linux/src/components/cprintprogress.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win-linux/src/components/cprintprogress.cpp b/win-linux/src/components/cprintprogress.cpp index 9063a0937..0b43126c4 100644 --- a/win-linux/src/components/cprintprogress.cpp +++ b/win-linux/src/components/cprintprogress.cpp @@ -158,7 +158,7 @@ public: qtProgressLabel->setStyleSheet(QString("margin-bottom: %1px;").arg(8*_dpi_ratio)); layout->addWidget(qtProgressLabel); - QPushButton * btn_cancel = new QPushButton(QObject::tr("&Cancel", "CPrintProgress")); + QPushButton * btn_cancel = new QPushButton(cancelText); QWidget * box = new QWidget; box->setLayout(new QHBoxLayout); box->layout()->addWidget(btn_cancel);