| 78 | } |
| 79 | |
| 80 | QString SubtitleMatcher::constructSubtitlePath(QString targetMovieFilePath, |
| 81 | QString targetExtension, |
| 82 | QString baseSuffix) const { |
| 83 | QFileInfo targetMovieFileInfo(targetMovieFilePath); |
| 84 | return targetMovieFileInfo.path() + QDir::separator() + |
| 85 | targetMovieFileInfo.completeBaseName() + baseSuffix + "." + |
| 86 | targetExtension; |
| 87 | } |
| 88 | |
| 89 | bool SubtitleMatcher::isWritablePath(QString path) const { |
| 90 | QFileInfo pathFileInfo(path); |
nothing calls this directly
no outgoing calls
no test coverage detected