| 2950 | |
| 2951 | |
| 2952 | QString Window::currentProjectFolderPath() |
| 2953 | // ---------------------------------------------------------------------------- |
| 2954 | // The current document folder |
| 2955 | // ---------------------------------------------------------------------------- |
| 2956 | { |
| 2957 | if (repo) |
| 2958 | return repo->path; |
| 2959 | |
| 2960 | if ( !currentProjectFolder.isEmpty()) |
| 2961 | return currentProjectFolder; |
| 2962 | |
| 2963 | return Application::defaultProjectFolderPath(); |
| 2964 | } |
| 2965 | |
| 2966 | |
| 2967 | void Window::resetTaoMenus() |
no outgoing calls
no test coverage detected