MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / flags

Method flags

launcher/minecraft/auth/AccountList.cpp:396–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

394}
395
396Qt::ItemFlags AccountList::flags(const QModelIndex& index) const
397{
398 if (index.row() < 0 || index.row() >= rowCount(index.parent()) || !index.isValid()) {
399 return Qt::NoItemFlags;
400 }
401
402 return Qt::ItemIsUserCheckable | Qt::ItemIsEnabled | Qt::ItemIsSelectable;
403}
404
405bool AccountList::setData(const QModelIndex& idx, const QVariant& value, int role)
406{

Callers

nothing calls this directly

Calls 2

parentMethod · 0.45
isValidMethod · 0.45

Tested by

no test coverage detected