| 1790 | } |
| 1791 | |
| 1792 | QString |
| 1793 | Project::getLockAbsoluteFilePath() const |
| 1794 | { |
| 1795 | QString projectPath = QString::fromUtf8( _imp->getProjectPath().c_str() ); |
| 1796 | QString projectFilename = QString::fromUtf8( _imp->getProjectFilename().c_str() ); |
| 1797 | |
| 1798 | if ( projectPath.isEmpty() ) { |
| 1799 | return QString(); |
| 1800 | } |
| 1801 | if ( !projectPath.endsWith( QLatin1Char('/') ) ) { |
| 1802 | projectPath.append( QLatin1Char('/') ); |
| 1803 | } |
| 1804 | QString lockFilePath = projectPath + projectFilename + QString::fromUtf8(".lock"); |
| 1805 | |
| 1806 | return lockFilePath; |
| 1807 | } |
| 1808 | |
| 1809 | void |
| 1810 | Project::createLockFile() |
nothing calls this directly
no test coverage detected