PDA

View Full Version : Qt::Accepted in Qt 5.0



Higgs
14th February 2014, 15:30
Hi.
I'm reading Johan Thelin's book Foundation of Qt Development and I read such code:
10047

But in Qt 5.1, Qt::Accepted is deprecated. What I have to do to replace Qt::Accepted?
I tried QDialog::Accepted but doesn't work.

anda_skoa
14th February 2014, 17:27
QDialog::Accepted should work. Have used that thousands of times myself :)

Cheers,
_

Higgs
14th February 2014, 17:41
QDialog::Accepted should work. Have used that thousands of times myself :)

Cheers,
_

Ah,yes :) I had other problem and thought it was problem with QDialog::Accepted :)

Thanks :)