Hi
My bad 
inclusion error

-----Original Message-----
From: interest-bounces+graham.labdon=avalonsciences....@qt-project.org 
[mailto:interest-bounces+graham.labdon=avalonsciences....@qt-project.org] On 
Behalf Of Graham Labdon
Sent: 07 March 2014 14:43
To: Interest@qt-project.org
Subject: [Interest] QDialog + DialogCode

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 private

Does anyone know if this was intentional or a bug?

If it was intentional how is the return value supposed to be checked?

Thanks
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to