MCPcopy Create free account
hub / github.com/MultiMC/Launcher / changelogLoaded

Method changelogLoaded

launcher/ui/dialogs/UpdateDialog.cpp:147–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147void 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
163void UpdateDialog::changelogFailed(QString reason)
164{

Callers

nothing calls this directly

Calls 3

reprocessCommitsFunction · 0.85
reprocessMarkdownFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected