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

Function shouldDisplay

launcher/ui/pages/instance/TexturePackPage.h:60–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 QString helpPage() const override { return "Texture-packs"; }
59
60 virtual bool shouldDisplay() const override
61 {
62 return m_instance->traits().contains("texturepacks");
63 }
64
65 public slots:
66 bool onSelectionChanged(const QModelIndex& current, const QModelIndex& previous) override

Callers

nothing calls this directly

Calls 2

containsMethod · 0.45
traitsMethod · 0.45

Tested by

no test coverage detected