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

Method flags

launcher/minecraft/WorldList.cpp:356–363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

354}
355
356Qt::ItemFlags WorldList::flags(const QModelIndex& index) const
357{
358 Qt::ItemFlags defaultFlags = QAbstractListModel::flags(index);
359 if (index.isValid())
360 return Qt::ItemIsUserCheckable | Qt::ItemIsDragEnabled | Qt::ItemIsDropEnabled | defaultFlags;
361 else
362 return Qt::ItemIsDropEnabled | defaultFlags;
363}
364
365Qt::DropActions WorldList::supportedDragActions() const
366{

Callers

nothing calls this directly

Calls 1

isValidMethod · 0.45

Tested by

no test coverage detected