| 2482 | } |
| 2483 | |
| 2484 | void CCNotePad::slot_showFileInExplorer() |
| 2485 | { |
| 2486 | QString path; |
| 2487 | QWidget* pw = ui.editTabWidget->currentWidget(); |
| 2488 | if (pw != nullptr) |
| 2489 | { |
| 2490 | path = pw->property(Edit_View_FilePath).toString(); |
| 2491 | } |
| 2492 | |
| 2493 | showFileInExplorer(path); |
| 2494 | } |
| 2495 | |
| 2496 | //打开cmd窗口 |
| 2497 |
nothing calls this directly
no test coverage detected