@@ -143,8 +143,8 @@ MainWindow::MainWindow(QString exepath, bool statupInTray, bool allowMultipleIns
143143 else trayIcon->hide ();
144144
145145 connect (m_dbus, &DBusProxy::propertiesCommitted, this , [this ](){
146- conf->setConfigMap (m_dbus->FetchPropertyMap ());
147- LoadConfig (Context::DBus);
146+ // conf->setConfigMap(m_dbus->FetchPropertyMap());
147+ // LoadConfig(Context::DBus);
148148 });
149149
150150 connect (m_appwrapper,&AppConfigWrapper::styleChanged,this ,[this ](){
@@ -717,8 +717,10 @@ void MainWindow::LoadConfig(Context ctx){
717717 if (eqReloadRequired)
718718 ui->eq_widget ->setBands (eq_data,false );
719719
720- if (ctx != Context::DBus) UpdateEqStringFromWidget ();
721- UpdateDynsysStringFromWidget ();
720+ if (ctx != Context::DBus){
721+ UpdateEqStringFromWidget ();
722+ UpdateDynsysStringFromWidget ();
723+ }
722724 UpdateAllUnitLabels ();
723725
724726 QString ir = conf->getString (" conv_ir_path" ,false );
@@ -1012,9 +1014,7 @@ void MainWindow::SetEQ(const QVector<float> data){
10121014 lockapply=true ;
10131015 ui->eq_widget ->setBands (QVector<float >(data));
10141016 lockapply=false ;
1015- QTimer::singleShot (510 ,this ,[this ](){
1016- OnUpdate (true );
1017- });
1017+ OnUpdate (true );
10181018}
10191019void MainWindow::ResetEQ (){
10201020 ui->reset_eq ->setEnabled (false );
@@ -1067,9 +1067,11 @@ AppConfigWrapper* MainWindow::getACWrapper(){
10671067
10681068// ---Connect UI-Signals
10691069void MainWindow::ConnectActions (){
1070- QList<QWidget*> registerValueChange (
1071- {ui->convcc ,ui->vbfreq ,ui->vbgain ,ui->vbmode ,ui->difflvl ,ui->vhplvl ,ui->roomsize ,ui->roomwidth ,ui->roomdamp ,
1072- ui->wet ,ui->dry ,ui->colmwide ,ui->colmmidimg ,ui->colmdepth ,ui->vclvl ,ui->vcmode ,ui->gain ,ui->maxgain ,ui->maxvol ,
1070+ QList<QWidget*> registerValueChange ({ui->vbmode ,ui->vcmode });
1071+
1072+ QList<QAnimatedSlider*> registerValueAChange (
1073+ {ui->convcc ,ui->vbfreq ,ui->vbgain ,ui->difflvl ,ui->vhplvl ,ui->roomsize ,ui->roomwidth ,ui->roomdamp ,
1074+ ui->wet ,ui->dry ,ui->colmwide ,ui->colmmidimg ,ui->colmdepth ,ui->vclvl ,ui->gain ,ui->maxgain ,ui->maxvol ,
10731075 ui->outputpan ,ui->limiter ,ui->outvolume ,ui->vcurelvl ,ui->axmode ,ui->barkfreq ,ui->barkcon ,ui->comprelease ,ui->compgain ,
10741076 ui->compwidth ,ui->comp_ratio ,ui->comp_thres ,ui->compattack ,ui->comprelease ,ui->a_adapt ,ui->a_crest ,ui->a_maxatk ,ui->a_maxrel ,
10751077 ui->a_kneewidth ,ui->dyn_xcoeff1 ,ui->dyn_xcoeff2 ,ui->dyn_ycoeff1 ,ui->dyn_ycoeff2 ,ui->dyn_bassgain ,ui->dyn_sidegain1 ,ui->dyn_sidegain2 });
@@ -1091,6 +1093,9 @@ void MainWindow::ConnectActions(){
10911093 foreach (QWidget* w, registerValueChange)
10921094 connect (w, SIGNAL (valueChanged (int )), this , SLOT (UpdateUnitLabel (int )));
10931095
1096+ foreach (QWidget* w, registerValueAChange)
1097+ connect (w, SIGNAL (valueChangedA (int )), this , SLOT (UpdateUnitLabel (int )));
1098+
10941099 foreach (QWidget* w, registerSliderRelease)
10951100 connect (w, SIGNAL (sliderReleased ()), this , SLOT (OnRelease ()));
10961101
0 commit comments