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

Method PassthroughSetting

launcher/settings/PassthroughSetting.cpp:18–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

configKeysMethod · 0.80

Tested by

no test coverage detected