mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-04-26 00:01:13 -05:00
Fix crash when changing Twitch condition type
This commit is contained in:
parent
51b53bf948
commit
816ee9b244
|
|
@ -1427,8 +1427,6 @@ MacroConditionTwitchEdit::MacroConditionTwitchEdit(
|
||||||
QWidget::connect(_category,
|
QWidget::connect(_category,
|
||||||
SIGNAL(CategoreyChanged(const TwitchCategory &)), this,
|
SIGNAL(CategoreyChanged(const TwitchCategory &)), this,
|
||||||
SLOT(CategoreyChanged(const TwitchCategory &)));
|
SLOT(CategoreyChanged(const TwitchCategory &)));
|
||||||
QWidget::connect(this, SIGNAL(TempVarsChanged()), window(),
|
|
||||||
SIGNAL(SegmentTempVarsChanged()));
|
|
||||||
QWidget::connect(_clearBufferOnMatch, SIGNAL(stateChanged(int)), this,
|
QWidget::connect(_clearBufferOnMatch, SIGNAL(stateChanged(int)), this,
|
||||||
SLOT(ClearBufferOnMatchChanged(int)));
|
SLOT(ClearBufferOnMatchChanged(int)));
|
||||||
|
|
||||||
|
|
@ -1480,7 +1478,6 @@ void MacroConditionTwitchEdit::ConditionChanged(int idx)
|
||||||
_entryData->SetCondition(static_cast<MacroConditionTwitch::Condition>(
|
_entryData->SetCondition(static_cast<MacroConditionTwitch::Condition>(
|
||||||
_conditions->itemData(idx).toInt()));
|
_conditions->itemData(idx).toInt()));
|
||||||
SetWidgetVisibility();
|
SetWidgetVisibility();
|
||||||
emit TempVarsChanged();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MacroConditionTwitchEdit::TwitchTokenChanged(const QString &token)
|
void MacroConditionTwitchEdit::TwitchTokenChanged(const QString &token)
|
||||||
|
|
|
||||||
|
|
@ -176,7 +176,6 @@ private slots:
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void HeaderInfoChanged(const QString &);
|
void HeaderInfoChanged(const QString &);
|
||||||
void TempVarsChanged();
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void SetWidgetVisibility();
|
void SetWidgetVisibility();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user