[MacPorts] #45169: qt4-mac: prevent a crash when KDE apps use KMenu::addTitle

MacPorts noreply at macports.org
Fri Oct 3 08:49:47 PDT 2014


#45169: qt4-mac: prevent a crash when KDE apps use KMenu::addTitle
--------------------------+-------------------------
  Reporter:  rjvbertin@…  |      Owner:  michaelld@…
      Type:  defect       |     Status:  new
  Priority:  High         |  Milestone:
 Component:  ports        |    Version:  2.3.1
Resolution:               |   Keywords:  haspatch
      Port:  qt4-mac      |
--------------------------+-------------------------

Comment (by rjvbertin@…):

 I've simplified the patch; I think the change to `isResize` was overkill
 (the way it was done) and probably even lead to content not resizing when
 resizing windows.

 In its simpler form, the patch only prevents the call to the function that
 requires `q->parentWidget() != NULL`; it presumes that widgets for which
 that condition isn't met will not have a buffer to invalidate.

-- 
Ticket URL: <https://trac.macports.org/ticket/45169#comment:6>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list