| 253 | } |
| 254 | |
| 255 | bool Path::isDirectParentOf(const Path& path) const |
| 256 | { |
| 257 | if (!isValid() || !path.isValid() || remotePrefix() != path.remotePrefix()) { |
| 258 | return false; |
| 259 | } |
| 260 | return isParentPath(m_data, path.m_data, true); |
| 261 | } |
| 262 | |
| 263 | QString Path::remotePrefix() const |
| 264 | { |