[PATCH] Qt 4.4 - Fix alien widgets in Dolphin

David Faure faure at kde.org
Fri Feb 15 20:03:19 GMT 2008


On Thursday 14 February 2008, Robert Knight wrote:
> Since the actual call to winId() happens deep inside KIO, perhaps it
> would be better to put a fix there and only ever get winIds for
> top-level widgets to prevent applications doing this accidentally.
> Thoughts?

Yes. We take the winId in several places in KIO, but in every case, the toplevel would
be fine, it's only about associating dialogs from other processes (e.g. the cookie dialog)
with the toplevel window that requested the KIO operation.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kde-core-devel mailing list