Mercurial > hg > octave-nkf
changeset 20164: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 | 55c2d33e6773 |
files | libgui/graphics/Figure.cc |
diffstat | 1 files changed, 0 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/graphics/Figure.cc +++ b/libgui/graphics/Figure.cc @@ -546,9 +546,6 @@ //qDebug ("Figure::updateBoundingBoxHelper: internal=%d, bbox=[%g %g %g %g]", // d->m_internal, d->m_bbox(0), d->m_bbox(1), d->m_bbox(2), d->m_bbox(3)); fp.set_boundingbox (d->m_bbox, d->m_internal, false); - - if (d->m_internal) - emit d->m_figure->asyncUpdate (); } delete d;