mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-01-18 03:08:46 -05:00
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:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user