~abreu-alexandre/oxide/add-ua-to-downloadrequested

Viewing all changes in revision 885.

  • Committer: Chris Coulson
  • Date: 2014-12-09 16:39:28 UTC
  • Revision ID: chris.coulson@canonical.com-20141209163928-92ajp062hfej2v90
Call QDesktopServices::openUrl on the UI thread. Even though QDesktopServices is thread safe, it uses QMetaObject::invokeMethod in direct mode making it quite difficult to interact with correctly when using setUrlHandler. Also, fix up tests to not provide dummy handlers in order to force load failures

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: