| 1661 | } |
| 1662 | |
| 1663 | QString |
| 1664 | Project::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 | |
| 1680 | void |
| 1681 | Project::createLockFile() |
nothing calls this directly
no test coverage detected