| 145 | } |
| 146 | |
| 147 | void UpdateDialog::changelogLoaded() |
| 148 | { |
| 149 | QString result; |
| 150 | switch(m_changelogType) |
| 151 | { |
| 152 | case CHANGELOG_COMMITS: |
| 153 | result = reprocessCommits(changelogData); |
| 154 | break; |
| 155 | case CHANGELOG_MARKDOWN: |
| 156 | result = reprocessMarkdown(changelogData); |
| 157 | break; |
| 158 | } |
| 159 | changelogData.clear(); |
| 160 | ui->changelogBrowser->setHtml(result); |
| 161 | } |
| 162 | |
| 163 | void UpdateDialog::changelogFailed(QString reason) |
| 164 | { |
nothing calls this directly
no test coverage detected