Migrate /w to Helix API (#4052)

This commit is contained in:
nerix
2022-10-08 13:11:55 +02:00
committed by GitHub
parent 7f93885518
commit 974a8f11b7
8 changed files with 317 additions and 48 deletions
+11
View File
@@ -766,6 +766,17 @@ void GeneralPage::initLayout(GeneralPageView &layout)
helixTimegateRaid->setMinimumWidth(
helixTimegateRaid->minimumSizeHint().width());
auto *helixTimegateWhisper =
layout.addDropdown<std::underlying_type<HelixTimegateOverride>::type>(
"Helix timegate /w behaviour",
{"Timegate", "Always use IRC", "Always use Helix"},
s.helixTimegateWhisper,
helixTimegateGetValue, //
helixTimegateSetValue, //
false);
helixTimegateWhisper->setMinimumWidth(
helixTimegateWhisper->minimumSizeHint().width());
layout.addStretch();
// invisible element for width