| 180 | } |
| 181 | |
| 182 | void UpdateDialog::changelogLoaded() |
| 183 | { |
| 184 | QString result; |
| 185 | switch(m_changelogType) |
| 186 | { |
| 187 | case CHANGELOG_COMMITS: |
| 188 | result = reprocessCommits(changelogData); |
| 189 | break; |
| 190 | case CHANGELOG_MARKDOWN: |
| 191 | result = reprocessMarkdown(changelogData); |
| 192 | break; |
| 193 | } |
| 194 | changelogData.clear(); |
| 195 | ui->changelogBrowser->setHtml(result); |
| 196 | } |
| 197 | |
| 198 | void UpdateDialog::changelogFailed(QString reason) |
| 199 | { |
nothing calls this directly
no test coverage detected