| 256 | } |
| 257 | |
| 258 | void ProjectSourcePage::locationChanged() |
| 259 | { |
| 260 | Q_ASSERT(m_locationWidget); |
| 261 | if(m_locationWidget->isCorrect()) { |
| 262 | QString currentUrl = m_ui->workingDir->text(); |
| 263 | currentUrl.truncate(currentUrl.lastIndexOf(QLatin1Char('/'))+1); |
| 264 | |
| 265 | QUrl current = QUrl::fromUserInput(currentUrl + m_locationWidget->projectName()); |
| 266 | m_ui->workingDir->setUrl(current); |
| 267 | } |
| 268 | else |
| 269 | reevaluateCorrection(); |
| 270 | } |
| 271 | |
| 272 | void ProjectSourcePage::projectChanged(const QString& name) |
| 273 | { |
nothing calls this directly
no test coverage detected