ProjectExplorer: Fix enabling of buttons in the output pane.
Enable debug only if run control has a valid process handle. Restore icon of rerun-button. Take the concept of the ProcessHandle further (give it descriptive string, add change signal to run control, clear it when process stops to correctly enable debug). No longer set ProcessHandle to debug run control as this would allow attach a 2nd debugger to the process. Reviewed-by: hjk Change-Id: Iecf388e239fcd365864fe59177d76afac7484ecc Reviewed-on: http://codereview.qt.nokia.com/1212 Reviewed-by:Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by:
Eike Ziller <eike.ziller@nokia.com>
Showing
- src/plugins/debugger/debuggerengine.cpp 0 additions, 2 deletionssrc/plugins/debugger/debuggerengine.cpp
- src/plugins/projectexplorer/appoutputpane.cpp 48 additions, 24 deletionssrc/plugins/projectexplorer/appoutputpane.cpp
- src/plugins/projectexplorer/appoutputpane.h 3 additions, 0 deletionssrc/plugins/projectexplorer/appoutputpane.h
- src/plugins/projectexplorer/localapplicationruncontrol.cpp 1 addition, 0 deletionssrc/plugins/projectexplorer/localapplicationruncontrol.cpp
- src/plugins/projectexplorer/runconfiguration.cpp 39 additions, 1 deletionsrc/plugins/projectexplorer/runconfiguration.cpp
- src/plugins/projectexplorer/runconfiguration.h 11 additions, 4 deletionssrc/plugins/projectexplorer/runconfiguration.h
Loading
Please register or sign in to comment