[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: function of setButtons( Close ) of class KDialog
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2012-02-05 11:51:40
Message-ID: 201202051251.40829.kevin.krammer () gmx ! at
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Sunday, 2012-02-05, Rahul Sharma wrote:
> Yeah, I was trying to fix bug #152182 and I found the reason behind the
> bug. And I was even able to fix that if I add a close button of mine and
> connect that to close() slot (detailed explanation would be too long but if
> you want me to, then surely I would).
> And this setButtons(Close), does not call close() slot nor does it send a
> closeEvent(QCloseEvent * ) and I think that's why there is the bug.

If I understand this bug report correctly then the dialog's visibility and the 
check state of a toggle option for its visibility get out of sync.

You could consider connecting to the finished() signal or hocking into 
setVisible(bool)

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

["signature.asc" (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic