| 22 | QString AuthProfile::GetProject() { return this->project; }; |
| 23 | |
| 24 | QString AuthProfile::GetProjectDir() const |
| 25 | { |
| 26 | QString dirPath = this->projectDir.trimmed(); |
| 27 | if (dirPath.isEmpty()) { |
| 28 | QDir home(QDir::homePath()); |
| 29 | QString basePath = home.filePath("AdaptixProjects"); |
| 30 | QDir baseDir(basePath); |
| 31 | dirPath = baseDir.filePath(this->project.trimmed()); |
| 32 | } |
| 33 | |
| 34 | QDir().mkpath(dirPath); |
| 35 | return dirPath; |
| 36 | } |
| 37 | |
| 38 | QString AuthProfile::GetUsername() { return this->username; }; |
| 39 |
no test coverage detected