Clean up SwitcherData

* Moved various functions, members, and definitions
 * Separated out priority related functionality
 * Visually grouped various function groups
This commit is contained in:
WarmUpTill
2023-04-29 13:37:47 +02:00
committed by WarmUpTill
parent 0138b412b4
commit 5602dfa09a
11 changed files with 383 additions and 331 deletions

View File

@@ -142,7 +142,8 @@ void AdvSceneSwitcher::SetupRandomTab()
border-radius: 7px; \
border-color: rgb(0,0,0,0) \
}");
if (switcher->switchIfNotMatching != RANDOM_SWITCH) {
if (switcher->switchIfNotMatching !=
SwitcherData::NoMatch::RANDOM_SWITCH) {
if (!switcher->disableHints) {
PulseWidget(ui->randomDisabledWarning, QColor(Qt::red),
QColor(0, 0, 0, 0));