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

Method on_GroupStateChanged

launcher/InstanceList.cpp:751–760  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

749}
750
751void InstanceList::on_GroupStateChanged(const QString& group, bool collapsed)
752{
753 qDebug() << "Group" << group << (collapsed ? "collapsed" : "expanded");
754 if(collapsed) {
755 m_collapsedGroups.insert(group);
756 } else {
757 m_collapsedGroups.remove(group);
758 }
759 saveGroupList();
760}
761
762class InstanceStaging : public Task
763{

Callers

nothing calls this directly

Calls 2

insertMethod · 0.80
removeMethod · 0.45

Tested by

no test coverage detected