MCPcopy Create free account
hub / github.com/MrKepzie/Natron / getLockAbsoluteFilePath

Method getLockAbsoluteFilePath

Engine/Project.cpp:1663–1678  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1661}
1662
1663QString
1664Project::getLockAbsoluteFilePath() const
1665{
1666 QString projectPath = QString::fromUtf8( _imp->getProjectPath().c_str() );
1667 QString projectFilename = QString::fromUtf8( _imp->getProjectFilename().c_str() );
1668
1669 if ( projectPath.isEmpty() ) {
1670 return QString();
1671 }
1672 if ( !projectPath.endsWith( QLatin1Char('/') ) ) {
1673 projectPath.append( QLatin1Char('/') );
1674 }
1675 QString lockFilePath = projectPath + projectFilename + QString::fromUtf8(".lock");
1676
1677 return lockFilePath;
1678}
1679
1680void
1681Project::createLockFile()

Callers

nothing calls this directly

Calls 5

QStringClass · 0.85
appendMethod · 0.80
getProjectPathMethod · 0.45
getProjectFilenameMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected