| 164 | } |
| 165 | |
| 166 | void ProjectPathsModel::addPath( const QUrl &url ) |
| 167 | { |
| 168 | if( !project->path().isParentOf(KDevelop::Path(url)) ) { |
| 169 | return; |
| 170 | } |
| 171 | |
| 172 | beginInsertRows( QModelIndex(), rowCount(), rowCount() ); |
| 173 | addPathInternal( ConfigEntry(sanitizeUrl(url)), false ); |
| 174 | endInsertRows(); |
| 175 | } |
| 176 | |
| 177 | void ProjectPathsModel::addPathInternal( const ConfigEntry& config, bool prepend ) |
| 178 | { |
no test coverage detected