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

Method OverrideSetting

launcher/settings/OverrideSetting.cpp:18–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16#include "OverrideSetting.h"
17
18OverrideSetting::OverrideSetting(std::shared_ptr<Setting> other, std::shared_ptr<Setting> gate)
19 : Setting(other->configKeys(), QVariant())
20{
21 Q_ASSERT(other);
22 Q_ASSERT(gate);
23 m_other = other;
24 m_gate = gate;
25}
26
27bool OverrideSetting::isOverriding() const
28{

Callers

nothing calls this directly

Calls 1

configKeysMethod · 0.80

Tested by

no test coverage detected