QWizard destruction ISSUE/BUG
-
wrote on 14 Feb 2016, 00:43 last edited by Kaluss
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 -
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.
-
wrote on 15 Feb 2016, 16:03 last edited by
I add some qDebug() logs into virtual destructors.
-
@Kaluss
Hello,
I can't spot anything wrong, it may be a bug. Could you share a minimal working example that demonstrates the issue, so I can run it on my machine and we could compare.Kind regards.
2/4