<SOLVED>QDialog and DialogCode
-
wrote on 7 Mar 2014, 14:44 last edited by
Hi
I have just started to use Qt 5.2.1 and have run into a problem with this code -
@
MyDialog d;
if (d.exec() == QDialog::Accepted)
{
}
@
This is because in QDialog the DialogCode enum has been made privateDoes anyone know if this was intentional or a bug?
If it was intentional how is the return value supposed to be checked?
Thanks
-
wrote on 7 Mar 2014, 14:57 last edited by
Hi
My bad
inclusion error
1/2