| 864 | } |
| 865 | |
| 866 | KDevelop::ILaunchMode* KDevelop::RunController::launchModeForId(const QString& id) const |
| 867 | { |
| 868 | Q_D(const RunController); |
| 869 | |
| 870 | auto it = d->launchModes.find( id ); |
| 871 | if( it != d->launchModes.end() ) |
| 872 | { |
| 873 | return it.value(); |
| 874 | } |
| 875 | return nullptr; |
| 876 | } |
| 877 | |
| 878 | void KDevelop::RunController::addLaunchConfiguration(KDevelop::LaunchConfiguration* l) |
| 879 | { |