Skip to content
  • Aurindam Jana's avatar
    CrumblePath: Fix Crash · 1b5648b5
    Aurindam Jana authored
    
    
    QWidget::mousePressEvent() closes the widget if the position is
    not within the rect. A subsequent call to update() amounts to
    accessing potentially corrupt memory. Hence call update() before
    calling QWidget::mousePressEvent().
    
    Change-Id: I850471d3a1dfdb0a4f0541a69fd2f239dbf8b5fa
    Reviewed-by: default avatarKai Koehne <kai.koehne@nokia.com>
    1b5648b5