MCPcopy Create free account
hub / github.com/QNapi/qnapi / constructSubtitlePath

Method constructSubtitlePath

libqnapi/src/subtitlematcher.cpp:80–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80QString 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
89bool SubtitleMatcher::isWritablePath(QString path) const {
90 QFileInfo pathFileInfo(path);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected