CProgressDialog: Remove redundant future copies

We can pass by reference here.
This commit is contained in:
Lioncache
2025-12-03 15:34:48 -05:00
parent 449798b16c
commit b13ebc56bb
2 changed files with 5 additions and 5 deletions

View File

@@ -3,7 +3,7 @@
#include "CEditorApplication.h"
#include <QCloseEvent>
CProgressDialog::CProgressDialog(QString OperationName, bool UseBusyIndicator, bool AlertOnFinish, QWidget *pParent)
CProgressDialog::CProgressDialog(const QString& OperationName, bool UseBusyIndicator, bool AlertOnFinish, QWidget *pParent)
: IProgressNotifierUI(pParent)
, mpUI(std::make_unique<Ui::CProgressDialog>())
, mUseBusyIndicator(UseBusyIndicator)