Running QProcesses as workload of ThreadWeaver jobs
Adam Treat
treat at kde.org
Sat Jan 28 04:53:57 GMT 2006
On Saturday 31 December 2005 11:54 am, Mirko Boehm wrote:
> On Friday 30 December 2005 14:33, David Faure wrote:
> > Does this help?
> >
> > --- kcheckaccelerators.cpp (revision 488546)
> > +++ kcheckaccelerators.cpp (working copy)
> > @@ -109,6 +109,10 @@ bool KCheckAccelerators::eventFilter( QO
> > break;
> > case QEvent::ChildInserted:
> > case QEvent::ChildRemoved:
> > + // Only care about widgets; this also avoids starting the timer
> > in other threads + if ( !static_cast<QChildEvent
> > *>(e)->child()->isWidgetType() ) + break;
> > + // fall-through
> > case QEvent::Resize:
> > case QEvent::LayoutHint:
> > case QEvent::WindowActivate:
Sorry for taking so long to check this again... David, no, the above didn't
seem to help. However, removing the eventFilter altogether does the trick so
I know the problem is here somehow...
> I also did some fixing (made sure the signals are emitted asynchronously if
> necessary), but I did not hear back from Adam if it helped.
Nope, sorry Mirko, but an updated version of Threadweaver is not helping. The
only thing that fixes the crash in all cases is removing the eventFilter from
KCheckAccelerators.
Adam
More information about the kde-core-devel
mailing list