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

Method flags

launcher/minecraft/mod/ResourceFolderModel.cpp:351–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349}
350
351Qt::ItemFlags ResourceFolderModel::flags(const QModelIndex& index) const
352{
353 Qt::ItemFlags defaultFlags = QAbstractListModel::flags(index);
354 auto flags = defaultFlags | Qt::ItemIsDropEnabled;
355 if (index.isValid())
356 flags |= Qt::ItemIsUserCheckable;
357 return flags;
358}
359
360QStringList ResourceFolderModel::mimeTypes() const
361{

Callers

nothing calls this directly

Calls 1

isValidMethod · 0.45

Tested by

no test coverage detected