MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / changelogLoaded

Method changelogLoaded

launcher/ui/dialogs/UpdateDialog.cpp:182–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182void 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
198void UpdateDialog::changelogFailed(QString reason)
199{

Callers

nothing calls this directly

Calls 3

reprocessCommitsFunction · 0.85
reprocessMarkdownFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected