| 2228 | } |
| 2229 | |
| 2230 | bool |
| 2231 | AppInstance::save(const std::string& filename) |
| 2232 | { |
| 2233 | ProjectPtr project = getProject(); |
| 2234 | |
| 2235 | if ( project->hasProjectBeenSavedByUser() ) { |
| 2236 | QString projectFilename = project->getProjectFilename(); |
| 2237 | QString projectPath = project->getProjectPath(); |
| 2238 | |
| 2239 | return project->saveProject(projectPath, projectFilename, 0); |
| 2240 | } else { |
| 2241 | return saveAs(filename); |
| 2242 | } |
| 2243 | } |
| 2244 | |
| 2245 | bool |
| 2246 | AppInstance::saveAs(const std::string& filename) |
nothing calls this directly
no test coverage detected