| 1772 | } |
| 1773 | |
| 1774 | bool |
| 1775 | Project::isGraphWorthLess() const |
| 1776 | { |
| 1777 | /* |
| 1778 | bool worthLess = true; |
| 1779 | for (U32 i = 0; i < _imp->currentNodes.size(); ++i) { |
| 1780 | if (!_imp->currentNodes[i]->isOutputNode() && _imp->currentNodes[i]->isActivated()) { |
| 1781 | worthLess = false; |
| 1782 | break; |
| 1783 | } |
| 1784 | } |
| 1785 | return worthLess; |
| 1786 | */ |
| 1787 | |
| 1788 | ///If it has never auto-saved, then the user didn't do anything, hence the project is worthless. |
| 1789 | return ( !hasEverAutoSaved() && !hasProjectBeenSavedByUser() ) || !hasNodes(); |
| 1790 | } |
| 1791 | |
| 1792 | QString |
| 1793 | Project::getLockAbsoluteFilePath() const |
no outgoing calls
no test coverage detected