Running QProcesses as workload of ThreadWeaver jobs

Mirko Boehm mirko at kde.org
Sat Dec 31 16:54:48 GMT 2005


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:
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. 

--Mirko.
-- 
KDE e.V.: http://ev.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20051231/5c24c654/attachment.sig>


More information about the kde-core-devel mailing list