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

Method flags

launcher/minecraft/auth/AccountList.cpp:429–437  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

427}
428
429Qt::ItemFlags AccountList::flags(const QModelIndex &index) const
430{
431 if (index.row() < 0 || index.row() >= rowCount(index) || !index.isValid())
432 {
433 return Qt::NoItemFlags;
434 }
435
436 return Qt::ItemIsUserCheckable | Qt::ItemIsEnabled | Qt::ItemIsSelectable;
437}
438
439bool AccountList::setData(const QModelIndex &idx, const QVariant &value, int role)
440{

Callers

nothing calls this directly

Calls 1

isValidMethod · 0.45

Tested by

no test coverage detected