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

Method reload

kdevplatform/util/environmentselectionmodel.cpp:82–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82void EnvironmentSelectionModel::reload()
83{
84 m_env = EnvironmentProfileList(KSharedConfig::openConfig());
85
86 const QStringList entries = entriesFromEnv(m_env);
87 setStringList(entries);
88 m_profilesLookupTable = QSet<QString>(entries.begin(), entries.end());
89}
90
91QString EnvironmentSelectionModel::reloadSelectedItem(const QString& currentProfile)
92{

Callers 1

reconfigureMethod · 0.45

Calls 4

entriesFromEnvFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected