MCPcopy Create free account
hub / github.com/coslyk/moonplayer / hlsdlFilePath

Function hlsdlFilePath

src/platform/paths_linux.cpp:47–56  ·  view source on GitHub ↗

hlsdl's file path

Source from the content-addressed store, hash-verified

45
46// hlsdl's file path
47QString hlsdlFilePath()
48{
49 static QString filename;
50 if (filename.isNull())
51 {
52 QString appPath = QCoreApplication::applicationDirPath();
53 filename = appPath.endsWith(QStringLiteral("/bin")) ? appPath + QStringLiteral("/moonplayer-hlsdl") : QStringLiteral("moonplayer-hlsdl");
54 }
55 return filename;
56}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected