![]() Registered Member ![]()
|
KDialog::exec() in katesavemodifieddialog.cpp is returning wrong values (128 and 256) even when 'done(42)' is called. can someone tell me what is happening here? According to the Qt documentation, exec is supposed to return the dialogcode. Does this have anything to do with this
|
![]() Global Moderator ![]()
|
|
![]() Registered Member ![]()
|
Using gdb |
![]() Global Moderator ![]()
|
|
![]() Registered Member ![]()
|
and then examining "returnValue"
yes, value returned by exec() is not equal to either QDialog::Accepted or QDialog::Rejected, when accepted() or rejected() are called |
![]() Global Moderator ![]()
|
... yes, but what real-world issue does this supposed bug cause, effectively?
I'm working on the KDevelop IDE.
|
![]() Registered Member ![]()
|
We need the return value to know whether the user clicked on the ok button or the cancel button.
Can you reproduce the issue? |
![]() Global Moderator ![]()
|
I have used KDialog::exec before and never had this issue. Can you provide a minimal example of it not working?
I'm working on the KDevelop IDE.
|
Registered users: Bing [Bot], blue_bullet, Google [Bot], Yahoo [Bot]