| 1846 | } |
| 1847 | |
| 1848 | bool MainWindow::loadLastResults() |
| 1849 | { |
| 1850 | const QString &lastResults = getLastResults(); |
| 1851 | if (lastResults.isEmpty()) |
| 1852 | return false; |
| 1853 | if (!QFileInfo::exists(lastResults)) |
| 1854 | return false; |
| 1855 | mUI->mResults->clear(true); |
| 1856 | mUI->mResults->readErrorsXml(lastResults); |
| 1857 | mUI->mResults->setCheckDirectory(mSettings->value(SETTINGS_LAST_CHECK_PATH,QString()).toString()); |
| 1858 | mUI->mActionViewStats->setEnabled(true); |
| 1859 | enableResultsButtons(); |
| 1860 | return true; |
| 1861 | } |
| 1862 | |
| 1863 | void MainWindow::analyzeProject(const ProjectFile *projectFile, const QStringList& recheckFiles, const bool checkLib, const bool checkConfig) |
| 1864 | { |
nothing calls this directly
no test coverage detected