| 71 | } |
| 72 | |
| 73 | bool VcsLocation::isValid() const |
| 74 | { |
| 75 | return( ( d->m_localUrl.isValid() |
| 76 | && d->m_type == VcsLocation::LocalLocation ) |
| 77 | || ( !d->m_repoServer.isEmpty() |
| 78 | && d->m_type == VcsLocation::RepositoryLocation ) ); |
| 79 | } |
| 80 | |
| 81 | void VcsLocation::setLocalUrl( const QUrl& url ) |
| 82 | { |