mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-24 22:27:55 -05:00
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:
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 )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user