| 2046 | } |
| 2047 | |
| 2048 | void MainWindow::showStatistics() |
| 2049 | { |
| 2050 | StatsDialog statsDialog(this); |
| 2051 | |
| 2052 | // Show a dialog with the previous scan statistics and project information |
| 2053 | statsDialog.setProject(mProjectFile); |
| 2054 | statsDialog.setPathSelected(mCurrentDirectory); |
| 2055 | statsDialog.setNumberOfFilesScanned(mThread->getPreviousFilesCount()); |
| 2056 | statsDialog.setScanDuration(mThread->getPreviousScanDuration() / 1000.0); |
| 2057 | statsDialog.setStatistics(mUI->mResults->getStatistics()); |
| 2058 | |
| 2059 | statsDialog.exec(); |
| 2060 | } |
| 2061 | |
| 2062 | void MainWindow::showLibraryEditor() |
| 2063 | { |
nothing calls this directly
no test coverage detected