| 2257 | } |
| 2258 | |
| 2259 | void LibraryWindow::openContainingFolder() |
| 2260 | { |
| 2261 | QModelIndex modelIndex = foldersModelProxy->mapToSource(foldersView->currentIndex()); |
| 2262 | QString path; |
| 2263 | if (modelIndex.isValid()) |
| 2264 | path = QDir::cleanPath(currentPath() + foldersModel->getFolderPath(modelIndex)); |
| 2265 | else |
| 2266 | path = QDir::cleanPath(currentPath()); |
| 2267 | QDesktopServices::openUrl(QUrl("file:///" + path, QUrl::TolerantMode)); |
| 2268 | } |
| 2269 | |
| 2270 | void LibraryWindow::setFolderAsNotCompleted() |
| 2271 | { |
nothing calls this directly
no test coverage detected