| 218 | } |
| 219 | |
| 220 | void FileTreeTab::onPreview() |
| 221 | { |
| 222 | auto selection = singleSelection(); |
| 223 | if (!selection.isValid()) { |
| 224 | return; |
| 225 | } |
| 226 | |
| 227 | core().previewFile(parentWidget(), mod().name(), m_fs->filePath(selection)); |
| 228 | } |
| 229 | |
| 230 | void FileTreeTab::onExplore() |
| 231 | { |
nothing calls this directly
no test coverage detected