mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-24 04:22:39 +00:00
NOISSUE fix build on Linux
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user