the reason was that the toggled() signal is also trigged when we update
the widgets ourselves and this has caused some crashes in the past
the solution was to do the following
widget->blockSignals(true)
widget->setToggled(true)
widget->blockSignals(false)
which works but is a bit ugly, connecting to clicked() is preferable i
think (the clicked() signal is only triggered on user interaction)
however, i wasn't aware that it wasn't implemented before 4.2 for groupboxes
sorry, i wasn't trying to bump our qt requirement!
Abdelrazak Younes wrote:
[EMAIL PROTECTED] wrote:
Author: spitz
Date: Mon Feb 5 11:11:16 2007
New Revision: 17053
URL: http://www.lyx.org/trac/changeset/17053
Log:
* src/frontends/qt4/QGraphicsDialog.C:
- fix r17050: use signals that are known to Qt 4.0
You were quicker than me ;-), thanks.
Edwin, IIRC there were some reasons why you preferred the clicked()
signal over the toggled() one. Could you please put some comments about
this in the code?
Thanks,
Abdel.
--
http://leuven.ecodip.net