mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-22 01:44:49 -05:00
Fix typos
This commit is contained in:
parent
7041feaea3
commit
39fcb2d743
|
|
@ -161,7 +161,7 @@ void MacroSegmentList::mousePressEvent(QMouseEvent *event)
|
|||
#else
|
||||
_dragPosition = GetDragIndex(event->globalPosition().toPoint());
|
||||
#endif
|
||||
emit SelectionChagned(_dragPosition);
|
||||
emit SelectionChanged(_dragPosition);
|
||||
} else {
|
||||
_dragPosition = -1;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ public:
|
|||
QVBoxLayout *ContentLayout() { return _contentLayout; }
|
||||
|
||||
signals:
|
||||
void SelectionChagned(int idx);
|
||||
void SelectionChanged(int idx);
|
||||
void Reorder(int source, int target);
|
||||
|
||||
protected:
|
||||
|
|
|
|||
|
|
@ -802,21 +802,21 @@ void AdvSceneSwitcher::SetupMacroTab()
|
|||
|
||||
ui->conditionsList->SetHelpMsg(
|
||||
obs_module_text("AdvSceneSwitcher.macroTab.editConditionHelp"));
|
||||
connect(ui->conditionsList, &MacroSegmentList::SelectionChagned, this,
|
||||
connect(ui->conditionsList, &MacroSegmentList::SelectionChanged, this,
|
||||
&AdvSceneSwitcher::MacroConditionSelectionChanged);
|
||||
connect(ui->conditionsList, &MacroSegmentList::Reorder, this,
|
||||
&AdvSceneSwitcher::MacroConditionReorder);
|
||||
|
||||
ui->actionsList->SetHelpMsg(
|
||||
obs_module_text("AdvSceneSwitcher.macroTab.editActionHelp"));
|
||||
connect(ui->actionsList, &MacroSegmentList::SelectionChagned, this,
|
||||
connect(ui->actionsList, &MacroSegmentList::SelectionChanged, this,
|
||||
&AdvSceneSwitcher::MacroActionSelectionChanged);
|
||||
connect(ui->actionsList, &MacroSegmentList::Reorder, this,
|
||||
&AdvSceneSwitcher::MacroActionReorder);
|
||||
|
||||
ui->elseActionsList->SetHelpMsg(obs_module_text(
|
||||
"AdvSceneSwitcher.macroTab.editElseActionHelp"));
|
||||
connect(ui->elseActionsList, &MacroSegmentList::SelectionChagned, this,
|
||||
connect(ui->elseActionsList, &MacroSegmentList::SelectionChanged, this,
|
||||
&AdvSceneSwitcher::MacroElseActionSelectionChanged);
|
||||
connect(ui->elseActionsList, &MacroSegmentList::Reorder, this,
|
||||
&AdvSceneSwitcher::MacroElseActionReorder);
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ FilterComboBox::FilterComboBox(QWidget *parent, const QString &placehodler)
|
|||
connect(c, QOverload<const QModelIndex &>::of(&QCompleter::highlighted),
|
||||
this, &FilterComboBox::CompleterHighlightChanged);
|
||||
connect(lineEdit(), &QLineEdit::textChanged, this,
|
||||
&FilterComboBox::TextChagned);
|
||||
&FilterComboBox::TextChanged);
|
||||
}
|
||||
|
||||
void FilterComboBox::SetFilterBehaviourEnabled(bool value)
|
||||
|
|
@ -108,7 +108,7 @@ void FilterComboBox::CompleterHighlightChanged(const QModelIndex &index)
|
|||
emit currentTextChanged(text);
|
||||
}
|
||||
|
||||
void FilterComboBox::TextChagned(const QString &text)
|
||||
void FilterComboBox::TextChanged(const QString &text)
|
||||
{
|
||||
auto c = completer();
|
||||
const bool completerActive = c->completionCount() > 0;
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ protected:
|
|||
|
||||
private slots:
|
||||
void CompleterHighlightChanged(const QModelIndex &);
|
||||
void TextChagned(const QString &);
|
||||
void TextChanged(const QString &);
|
||||
|
||||
private:
|
||||
int _lastCompleterHighlightRow = -1;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user