MCPcopy Create free account
hub / github.com/KDE/kdevelop / setDefaultLaunch

Method setDefaultLaunch

kdevplatform/shell/runcontroller.cpp:944–956  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

942}
943
944void RunController::setDefaultLaunch(ILaunchConfiguration* l)
945{
946 Q_D(RunController);
947
948 const auto actions = d->currentTargetAction->actions();
949 for (QAction* a : actions) {
950 if( static_cast<ILaunchConfiguration*>( a->data().value<void*>() ) == l )
951 {
952 a->setChecked(true);
953 break;
954 }
955 }
956}
957
958bool launcherNameExists(const QString& name)
959{

Callers 2

launchAsMethod · 0.80
mainFunction · 0.80

Calls 2

actionsMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected