mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-04-08 00:29:44 -04: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. */
|
||||
|
||||
@@ -833,7 +833,7 @@ private slots:
|
||||
void TBarReleased();
|
||||
|
||||
void LockVolumeControl(bool lock);
|
||||
void ResetProxyStyleSliders();
|
||||
void ThemeChanged();
|
||||
|
||||
void UpdateVirtualCamConfig(const VCamConfig &config);
|
||||
void RestartVirtualCam(const VCamConfig &config);
|
||||
|
||||
Reference in New Issue
Block a user