Ticket #1093: suil-0.8.3svn5732-x11_in_qt4-R1.patch

File suil-0.8.3svn5732-x11_in_qt4-R1.patch, 729 bytes (added by Rui Nuno Capela, 6 years ago)
  • src/x11_in_qt4.cpp

    - Reenact x11 in qt4 parent window destructor [patch] (REGRESSION)
    
      partially reverts svn r5730 by drobilla on 2015-09-13, as found needed
      to re-enact the embedding parent window destructor in x11_in_qt4 module
      cf. wrapper_free(); maybe due to wrongly replicated patch on x11_in_qt5.
    
      Signed-off-by: rncbc aka. Rui Nuno Capela <rncbc@rncbc.org>
    
    
     
    7878{
    7979    SuilX11InQt4Wrapper* impl = (SuilX11InQt4Wrapper*)wrapper->impl;
    8080
     81    if (impl->parent) {
     82        delete impl->parent;
     83    }
     84
    8185    if (impl->host_widget) {
    8286        delete impl->host_widget;
    8387    }