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

Method defaultLaunch

kdevplatform/shell/runcontroller.cpp:598–606  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

596}
597
598LaunchConfiguration* KDevelop::RunController::defaultLaunch() const
599{
600 Q_D(const RunController);
601
602 QAction* projectAction = d->currentTargetAction->currentAction();
603 if( projectAction )
604 return static_cast<LaunchConfiguration*>(qvariant_cast<void*>(projectAction->data()));
605 return nullptr;
606}
607
608void KDevelop::RunController::registerJob(KJob * job)
609{

Callers 2

launchHeaptrackMethod · 0.80

Calls 2

currentActionMethod · 0.80
dataMethod · 0.45

Tested by

no test coverage detected