mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2025-03-11 22:14:13 +00:00
NOISSUE fix build on Linux
This commit is contained in:
parent
5c1026bd12
commit
9c4fcb826d
@ -181,7 +181,10 @@ void Modrinth::ListModel::searchRequestFinished()
|
||||
searchState = CanPossiblyFetchMore;
|
||||
}
|
||||
beginInsertRows(QModelIndex(), modpacks.size(), modpacks.size() + newList.size() - 1);
|
||||
modpacks.append(newList);
|
||||
// TODO: when we update from Qt 5.4, just use append(QVector)
|
||||
for(auto item: newList) {
|
||||
modpacks.append(item);
|
||||
}
|
||||
endInsertRows();
|
||||
}
|
||||
|
||||
|
@ -152,9 +152,10 @@ QString versionToString(const Modrinth::Version& version) {
|
||||
return version.name;
|
||||
}
|
||||
case Modrinth::VersionType::Unknown: {
|
||||
return QString("%1 (?)").arg(version.name);
|
||||
break;
|
||||
}
|
||||
}
|
||||
return QString("%1 (?)").arg(version.name);
|
||||
}
|
||||
|
||||
void ModrinthPage::updateCurrentPackUI()
|
||||
|
Loading…
x
Reference in New Issue
Block a user