| 278 | } |
| 279 | |
| 280 | void MainUI::onOpenProjectDirectory() |
| 281 | { |
| 282 | AuthProfile* profile = GetCurrentProfile(); |
| 283 | if (!profile) |
| 284 | return; |
| 285 | |
| 286 | QString projectDir = profile->GetProjectDir(); |
| 287 | if (projectDir.isEmpty()) |
| 288 | return; |
| 289 | |
| 290 | QDesktopServices::openUrl(QUrl::fromLocalFile(projectDir)); |
| 291 | } |
| 292 | |
| 293 | void MainUI::onTabChanged(int index) |
| 294 | { |
nothing calls this directly
no test coverage detected