mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-08 12:24:09 +00:00
UI: Use QCheckBox::toggled signal for checkbox changes
Like in 4f8b17d61
, "toggled" is the signal that listens for changes
however they may have happened (including through things like
accessibility software), whereas clicked only is emitted on mouse
clicks. We should react to any kind of change, whatever prompted it.
This commit is contained in:
parent
d2ef4d21b3
commit
6721154924
|
@ -333,7 +333,7 @@ void RestrictResetBitrates(initializer_list<QComboBox *> boxes, int maxbitrate);
|
|||
#define COMBO_CHANGED &QComboBox::currentIndexChanged
|
||||
#define EDIT_CHANGED &QLineEdit::textChanged
|
||||
#define CBEDIT_CHANGED &QComboBox::editTextChanged
|
||||
#define CHECK_CHANGED &QCheckBox::clicked
|
||||
#define CHECK_CHANGED &QCheckBox::toggled
|
||||
#define GROUP_CHANGED &QGroupBox::toggled
|
||||
#define SCROLL_CHANGED &QSpinBox::valueChanged
|
||||
#define DSCROLL_CHANGED &QDoubleSpinBox::valueChanged
|
||||
|
|
Loading…
Reference in a new issue