mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-11 14:41:57 +00:00
CGeneratePropertyNamesDialog: Make use of in-class initializers where applicable
This commit is contained in:
@@ -10,10 +10,8 @@
|
||||
|
||||
CGeneratePropertyNamesDialog::CGeneratePropertyNamesDialog(QWidget* pParent)
|
||||
: QDialog(pParent)
|
||||
, mpUI( new Ui::CGeneratePropertyNamesDialog )
|
||||
, mFutureWatcher( this )
|
||||
, mRunningNameGeneration( false )
|
||||
, mCanceledNameGeneration( false )
|
||||
, mpUI(std::make_unique<Ui::CGeneratePropertyNamesDialog>())
|
||||
, mFutureWatcher(this)
|
||||
{
|
||||
mpUI->setupUi(this);
|
||||
mNotifier.SetProgressBar( mpUI->ProgressBar );
|
||||
@@ -41,10 +39,7 @@ CGeneratePropertyNamesDialog::CGeneratePropertyNamesDialog(QWidget* pParent)
|
||||
QtConcurrent::run(&mGenerator, &CPropertyNameGenerator::Warmup);
|
||||
}
|
||||
|
||||
CGeneratePropertyNamesDialog::~CGeneratePropertyNamesDialog()
|
||||
{
|
||||
delete mpUI;
|
||||
}
|
||||
CGeneratePropertyNamesDialog::~CGeneratePropertyNamesDialog() = default;
|
||||
|
||||
/** Add a property to the ID pool */
|
||||
void CGeneratePropertyNamesDialog::AddToIDPool(IProperty* pProperty)
|
||||
|
||||
Reference in New Issue
Block a user