Mercurial > octave-nkf
comparison libgui/graphics/Figure.cc @ 19990:b57b7f3f5e61
avoid crash in Qt graphics (bug #44330)
* Figure.cc (Figure::updateBoundingBoxHelper):
Don't emit asyncUpdate signal.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 18 Mar 2015 10:13:53 -0400 |
parents | b6061813a693 |
children | 3cc0734283dc |
comparison
equal
deleted
inserted
replaced
19989:b6061813a693 | 19990:b57b7f3f5e61 |
---|---|
544 figure::properties& fp = Utils::properties<figure> (go); | 544 figure::properties& fp = Utils::properties<figure> (go); |
545 | 545 |
546 //qDebug ("Figure::updateBoundingBoxHelper: internal=%d, bbox=[%g %g %g %g]", | 546 //qDebug ("Figure::updateBoundingBoxHelper: internal=%d, bbox=[%g %g %g %g]", |
547 // d->m_internal, d->m_bbox(0), d->m_bbox(1), d->m_bbox(2), d->m_bbox(3)); | 547 // d->m_internal, d->m_bbox(0), d->m_bbox(1), d->m_bbox(2), d->m_bbox(3)); |
548 fp.set_boundingbox (d->m_bbox, d->m_internal, false); | 548 fp.set_boundingbox (d->m_bbox, d->m_internal, false); |
549 | |
550 if (d->m_internal) | |
551 emit d->m_figure->asyncUpdate (); | |
552 } | 549 } |
553 | 550 |
554 delete d; | 551 delete d; |
555 } | 552 } |
556 | 553 |