Review Request 104595: Actually use ExecuteBrowserPlugin in XDebugJob

Dominik Schmidt kde at dominik-schmidt.de
Mon Dec 12 21:54:32 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/104595/
-----------------------------------------------------------

(Updated Dec. 12, 2016, 9:54 p.m.)


Status
------

This change has been discarded.


Review request for KDevelop and Quanta.


Repository: quanta


Description
-------

Currently the XDebugJob always uses QDesktopServices::openUrl() to open the debug page in the browser, this patch makes use of the ExecuteBrowserPlugin instance that is already present in XDebug job so the configured browser is launched.

Also it makes BrowserAppJob launch the external browser KProc with .startDetached() instead of .execute() to prevent freezing of the KDevelop GUI.


Arguments are currently ignored still, a patch for that is following

Feel free to nitpick, I haven't done any KDE coding in a while and would like to hear any suggestion for improvements :-)


Diffs
-----

  debuggers/xdebug/debugjob.h 9925733 
  debuggers/xdebug/debugjob.cpp 0f04914 
  plugins/executebrowser/browserappjob.h 37ff700 
  plugins/executebrowser/browserappjob.cpp a211205 
  plugins/executebrowser/executebrowserplugin.h 7c78733 
  plugins/executebrowser/executebrowserplugin.cpp 921142f 
  plugins/executebrowser/iexecutebrowserplugin.h f786622 

Diff: https://git.reviewboard.kde.org/r/104595/diff/


Testing
-------

It works ... ;-)


Thanks,

Dominik Schmidt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20161212/2e8db954/attachment.html>


More information about the KDevelop-devel mailing list