usually yes, but for current project I use webkit to automate navigating deep into a javascript powered website, and the logic would be simpler if I could block while loading the HTML.

Is there a cleaner way to block than:
Qt Code:
  1. loaded = false; // set to true in loadFinished()
  2. load(url);
  3. while(!loaded) {
  4. // wait
  5. }
  6. // process html
To copy to clipboard, switch view to plain text mode