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

Method on_GroupStateChanged

launcher/InstanceList.cpp:765–774  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

763}
764
765void InstanceList::on_GroupStateChanged(const QString& group, bool collapsed)
766{
767 qDebug() << "Group" << group << (collapsed ? "collapsed" : "expanded");
768 if (collapsed) {
769 m_collapsedGroups.insert(group);
770 } else {
771 m_collapsedGroups.remove(group);
772 }
773 saveGroupList();
774}
775
776class InstanceStaging : public Task {
777 Q_OBJECT

Callers

nothing calls this directly

Calls 2

insertMethod · 0.80
removeMethod · 0.45

Tested by

no test coverage detected