QWizard destruction ISSUE/BUG
-
Hi,
I got following problem with QWizard in Qt 5.5.0.this->addPage( new MyCustomPage1() ); this->addPage( new MyCustomPage2() ); this->addPage( new MyCustomPage3() ); void InitWizard::onFinishSlot() { field( "SomeField" ).toString(); }
onFinishSlot is connected into QWizard::FinishButton clicked signal.
If I will use in slot instruction: field( "SomeField" ).toString();
Destructor of last added page is not being called.
If I delete this instruction everything works fine.Do I do something wrong or it's a BUG ?
Best regards,
Tomek -
@Kaluss
Hello Tomek,If I will use in slot instruction: field( "SomeField" ).toString();
Destructor of last added page is not being called.
If I delete this instruction everything works fine.How do you discern this?
Kind regards.