| 826 | } |
| 827 | |
| 828 | void RunController::removeConfigurationType( LaunchConfigurationType* type ) |
| 829 | { |
| 830 | Q_D(RunController); |
| 831 | |
| 832 | const auto oldLaunchConfigurations = d->launchConfigurations; |
| 833 | for (LaunchConfiguration* l : oldLaunchConfigurations) { |
| 834 | if( l->type() == type ) |
| 835 | { |
| 836 | removeLaunchConfigurationInternal( l ); |
| 837 | } |
| 838 | } |
| 839 | d->launchConfigurationTypes.remove( type->id() ); |
| 840 | } |
| 841 | |
| 842 | void KDevelop::RunController::addLaunchMode(KDevelop::ILaunchMode* mode) |
| 843 | { |