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

Method mapFromSource

launcher/VersionProxyModel.cpp:241–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239}
240
241QModelIndex VersionProxyModel::mapFromSource(const QModelIndex& sourceIndex) const
242{
243 if (sourceIndex.isValid()) {
244 return index(sourceIndex.row(), 0);
245 }
246 return QModelIndex();
247}
248
249QModelIndex VersionProxyModel::mapToSource(const QModelIndex& proxyIndex) const
250{

Callers 5

openedImplMethod · 0.80
selectPageMethod · 0.80
ExportInstanceDialogMethod · 0.80
ExportPackDialogMethod · 0.80

Calls 2

QModelIndexClass · 0.85
isValidMethod · 0.45

Tested by

no test coverage detected