Skip to content
  • Shawn Rutledge's avatar
    Tablet target widget isn't always the same as its widget window · 2bac4926
    Shawn Rutledge authored
    
    
    In this scenario there is a widget with a QPushButton inside, and you
    click the pushbutton with the tablet.  The target of the event is the
    pushbutton, but when you click it, the window is destroyed.  The
    widgetwindow destructor cannot check the pushbutton's window() because
    it has already been destroyed.  So it seems we have to store both
    widgets: the actual target and the parent widget which has the window.
    
    Task-number: QTBUG-36848
    Change-Id: I37d8fb03743f3e501d695342edc42de104777b18
    Reviewed-by: default avatarLaszlo Agocs <laszlo.agocs@digia.com>
    2bac4926