Refactor disconnect calls in AnimationToolBar to use explicit signal-slot disconnection

The following text was seen on Ubuntu 20.24, and the text disappears after this commit:
"QObject::disconnect: wildcard call disconnects from destroyed signal of QComboBox::unnamed
QObject::disconnect: wildcard call disconnects from destroyed signal of QSlider::unnamed"
This commit is contained in:
Magne authored and Magne Sjaastad committed 2026-03-10 15:32:02 +01:00
1 parent 62519d9b24
commit adf33c3658
1 file changed
+2 -2
@@ -203,8 +203,8 @@ void AnimationToolBar::connectAnimationControl( caf::FrameAnimationControl* anim
m_animRepeatFromStartAction->disconnect();
m_timestepCombo->disconnect();
m_frameRateSlider->disconnect();
disconnect( m_timestepCombo, SIGNAL( currentIndexChanged( int ) ), nullptr, nullptr );
disconnect( m_frameRateSlider, SIGNAL( valueChanged( int ) ), nullptr, nullptr );
if ( animationControl )
{