Fixed more clang formatting
Signed-off-by: SabrePenguin <lknofczynski@gmail.com>
This commit is contained in:
parent
5d25e21719
commit
6a49f513d8
@ -219,7 +219,7 @@ QString StringUtils::htmlListPatch(QString htmlStr)
|
||||
int pos = htmlStr.indexOf(match);
|
||||
int imgPos, dist;
|
||||
while (pos != -1) {
|
||||
dist = htmlStr.indexOf(">", pos) - pos + 1; // Get the size of the </ul> tag. Add one for zeroeth index
|
||||
dist = htmlStr.indexOf(">", pos) - pos + 1; // Get the size of the </ul> tag. Add one for zeroeth index
|
||||
pos = pos + dist;
|
||||
imgPos = htmlStr.indexOf("<img ", pos);
|
||||
if (imgPos == -1)
|
||||
|
@ -262,8 +262,8 @@ void Page::onPackSelectionChanged(Modpack* pack)
|
||||
ui->versionSelectionBox->clear();
|
||||
if (pack) {
|
||||
currentModpackInfo->setHtml(StringUtils::htmlListPatch("Pack by <b>" + pack->author + "</b>" + "<br>Minecraft " + pack->mcVersion +
|
||||
"<br>" + "<br>" +
|
||||
pack->description + "<ul><li>" + pack->mods.replace(";", "</li><li>") + "</li></ul>"));
|
||||
"<br>" + "<br>" + pack->description + "<ul><li>" +
|
||||
pack->mods.replace(";", "</li><li>") + "</li></ul>"));
|
||||
bool currentAdded = false;
|
||||
|
||||
for (int i = 0; i < pack->oldVersions.size(); i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user