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

Method LegacyModList

launcher/minecraft/legacy/LegacyModList.cpp:21–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19#include <QDebug>
20
21LegacyModList::LegacyModList(const QString &dir, const QString &list_file)
22 : m_dir(dir), m_list_file(list_file)
23{
24 FS::ensureFolderPathExists(m_dir.absolutePath());
25 m_dir.setFilter(QDir::Readable | QDir::NoDotAndDotDot | QDir::Files | QDir::Dirs);
26 m_dir.setSorting(QDir::Name | QDir::IgnoreCase | QDir::LocaleAware);
27}
28
29 struct OrderItem
30 {

Callers

nothing calls this directly

Calls 3

ensureFolderPathExistsFunction · 0.85
setFilterMethod · 0.45
setSortingMethod · 0.45

Tested by

no test coverage detected