UI: Change name of ResetProxyStyleSliders function
Changes the name to ThemeChanged, as the function now does more than reset the volume sliders.
This commit is contained in:
parent
a609cfb2f0
commit
5cc319d97f
2 changed files with 3 additions and 4 deletions
|
|
@ -520,8 +520,7 @@ OBSBasic::OBSBasic(QWidget *parent)
|
|||
connect(ui->broadcastButton, &QPushButton::clicked, this,
|
||||
&OBSBasic::BroadcastButtonClicked);
|
||||
|
||||
connect(App(), &OBSApp::StyleChanged, this,
|
||||
&OBSBasic::ResetProxyStyleSliders);
|
||||
connect(App(), &OBSApp::StyleChanged, this, &OBSBasic::ThemeChanged);
|
||||
|
||||
QActionGroup *actionGroup = new QActionGroup(this);
|
||||
actionGroup->addAction(ui->actionSceneListMode);
|
||||
|
|
@ -10903,7 +10902,7 @@ float OBSBasic::GetDevicePixelRatio()
|
|||
return dpi;
|
||||
}
|
||||
|
||||
void OBSBasic::ResetProxyStyleSliders()
|
||||
void OBSBasic::ThemeChanged()
|
||||
{
|
||||
/* Since volume/media sliders are using QProxyStyle, they are not
|
||||
* updated when themes are changed, so re-initialize them. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue