Review Request: Actually use ExecuteBrowserPlugin in XDebugJob
Dominik Schmidt
ich at dominik-schmidt.de
Fri Apr 13 23:29:07 UTC 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/104595/
-----------------------------------------------------------
Review request for KDevelop and 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: http://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/20120413/2ab0e654/attachment.html>
More information about the KDevelop-devel
mailing list