]> sigrok.org Git - pulseview.git/commit
Trace: Make popup forms compatible with OSX
authorElias Oenal <redacted>
Thu, 19 May 2016 18:34:45 +0000 (20:34 +0200)
committerSoeren Apel <redacted>
Thu, 19 May 2016 18:34:45 +0000 (20:34 +0200)
commite300444978bad69c104ce49c862da53dbe682e50
treeaee5e66c3a4a621eee8c99ded9199fa3af7e344a
parentcc9a7898ee7afc32e03dbcc991ed7ba722ed8f1b
Trace: Make popup forms compatible with OSX

Qt behaves differently on OSX regarding widget lifetime it seems,
causing the addition of a stacked decoder to crash PV.

According to Elias, the object popup_form_ gets destroyed, yet
it still has the parent popup_ which in turn will destroy it
again at the end of its life. Either removing the parent, or the
preliminary destruction, fixes the crash.
pv/view/trace.cpp