MCPcopy Create free account
hub / github.com/ElyPrismLauncher/Launcher / mapToSource

Method mapToSource

launcher/VersionProxyModel.cpp:249–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247}
248
249QModelIndex VersionProxyModel::mapToSource(const QModelIndex& proxyIndex) const
250{
251 if (proxyIndex.isValid()) {
252 return sourceModel()->index(proxyIndex.row(), 0);
253 }
254 return QModelIndex();
255}
256
257QModelIndex VersionProxyModel::index(int row, int column, const QModelIndex& parent) const
258{

Callers 11

updateFrameMethod · 0.80
updateFrameMethod · 0.80
updateFrameMethod · 0.80
updateFrameMethod · 0.80
changeDataPackVersionMethod · 0.80
updateFrameMethod · 0.80
getSelectedWorldMethod · 0.80
currentChangedMethod · 0.80

Calls 3

QModelIndexClass · 0.85
isValidMethod · 0.45
indexMethod · 0.45

Tested by

no test coverage detected