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

Method projectChanged

kdevplatform/shell/projectsourcepage.cpp:272–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270}
271
272void ProjectSourcePage::projectChanged(const QString& name)
273{
274 Q_ASSERT(m_providerWidget);
275 QString currentUrl = m_ui->workingDir->text();
276 currentUrl.truncate(currentUrl.lastIndexOf(QLatin1Char('/'))+1);
277
278 QUrl current = QUrl::fromUserInput(currentUrl + name);
279 m_ui->workingDir->setUrl(current);
280}
281
282void ProjectSourcePage::setStatus(const QString& message)
283{

Callers

nothing calls this directly

Calls 2

textMethod · 0.45
setUrlMethod · 0.45

Tested by

no test coverage detected