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

Method mapFromSource

launcher/VersionProxyModel.cpp:282–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280}
281
282QModelIndex VersionProxyModel::mapFromSource(const QModelIndex &sourceIndex) const
283{
284 if(sourceIndex.isValid())
285 {
286 return index(sourceIndex.row(), 0);
287 }
288 return QModelIndex();
289}
290
291QModelIndex VersionProxyModel::mapToSource(const QModelIndex &proxyIndex) const
292{

Callers 4

openedImplMethod · 0.80
selectPageMethod · 0.80
ExportInstanceDialogMethod · 0.80

Calls 2

QModelIndexClass · 0.85
isValidMethod · 0.45

Tested by

no test coverage detected