Migrate /commercial command to the Helix API (#4094)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -855,6 +855,17 @@ void GeneralPage::initLayout(GeneralPageView &layout)
|
||||
helixTimegateVIPs->setMinimumWidth(
|
||||
helixTimegateVIPs->minimumSizeHint().width());
|
||||
|
||||
auto *helixTimegateCommercial =
|
||||
layout.addDropdown<std::underlying_type<HelixTimegateOverride>::type>(
|
||||
"Helix timegate /commercial behaviour",
|
||||
{"Timegate", "Always use IRC", "Always use Helix"},
|
||||
s.helixTimegateCommercial,
|
||||
helixTimegateGetValue, //
|
||||
helixTimegateSetValue, //
|
||||
false);
|
||||
helixTimegateCommercial->setMinimumWidth(
|
||||
helixTimegateCommercial->minimumSizeHint().width());
|
||||
|
||||
layout.addStretch();
|
||||
|
||||
// invisible element for width
|
||||
|
||||
Reference in New Issue
Block a user