| 1872 | } // Project::reset |
| 1873 | |
| 1874 | void |
| 1875 | Project::closeProject_blocking(bool aboutToQuit) |
| 1876 | { |
| 1877 | assert( QThread::currentThread() == qApp->thread() ); |
| 1878 | { |
| 1879 | QMutexLocker k(&_imp->projectClosingMutex); |
| 1880 | _imp->projectClosing = true; |
| 1881 | } |
| 1882 | NodesList nodesToWatch; |
| 1883 | getNodes_recursive(nodesToWatch, false); |
| 1884 | for (NodesList::iterator it = nodesToWatch.begin(); it != nodesToWatch.end(); ++it) { |
| 1885 | (*it)->quitAnyProcessing_blocking(false); |
| 1886 | } |
| 1887 | |
| 1888 | doResetEnd(aboutToQuit); |
| 1889 | } |
| 1890 | |
| 1891 | void |
| 1892 | Project::doResetEnd(bool aboutToQuit) |
no test coverage detected