MCPcopy Create free account
hub / github.com/MultiMC/Launcher / flags

Method flags

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

Source from the content-addressed store, hash-verified

393}
394
395Qt::ItemFlags AccountList::flags(const QModelIndex &index) const
396{
397 if (index.row() < 0 || index.row() >= rowCount(index) || !index.isValid())
398 {
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 1

isValidMethod · 0.45

Tested by

no test coverage detected