faure at kde.org
Fri May 19 10:05:50 BST 2006
On Friday 19 May 2006 10:29, Stephan Kulow wrote:
> Am Donnerstag, 18. Mai 2006 13:09 schrieb David Faure:
> > - overwrite/rename/skip dialog boxes; used to be in kio_uiserver and then I
> > moved them back to kio, since modal dialogs in kio_uiserver were a bad
> > idea, apps using uiserver would be blocked until the modal dialog is
> > closed.
> This shouts "Threads" to me :)
Then I suggest re-reading the Qt documentation about threads.
The problem here is showing two modal dialogs from two apps into the same "server app" (uiserver),
and threads don't let you do that since you can't do anything GUI-related in other threads
than the main thread.
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