! * automatically saves the project in the specified time interval. */
| 1885 | * automatically saves the project in the specified time interval. |
| 1886 | */ |
| 1887 | void MainWin::autoSaveProject() { |
| 1888 | // don't auto save when there are no changes or the file name |
| 1889 | // was not provided yet (the project was never explicitly saved yet). |
| 1890 | if (!m_project->hasChanged() || m_project->fileName().isEmpty()) |
| 1891 | return; |
| 1892 | |
| 1893 | this->saveProject(); |
| 1894 | } |
| 1895 | |
| 1896 | void MainWin::updateTitleBar() { |
| 1897 | QString title; |
nothing calls this directly
no test coverage detected