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

Method setSelectedProfileAsDefault

kdevplatform/shell/settings/environmentwidget.cpp:141–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141void EnvironmentWidget::setSelectedProfileAsDefault()
142{
143 const int selectedIndex = ui.profileSelect->currentIndex();
144 m_environmentProfileListModel->setDefaultProfile(selectedIndex);
145}
146
147void EnvironmentWidget::loadSettings( KConfig* config )
148{

Callers

nothing calls this directly

Calls 2

currentIndexMethod · 0.45
setDefaultProfileMethod · 0.45

Tested by

no test coverage detected