From ad3a130bc019c559f3217c3038f8a3f6e845f9dd Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Mon, 30 Jun 2008 21:43:20 +0000 Subject: [PATCH] queued connections for models for not getting signaled at destruction-time git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1244 0778d3d1-df1d-0410-868b-ea421aaaa00d --- src/gui/automation_editor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/automation_editor.cpp b/src/gui/automation_editor.cpp index fdc2985d8..06de44876 100644 --- a/src/gui/automation_editor.cpp +++ b/src/gui/automation_editor.cpp @@ -279,7 +279,7 @@ automationEditor::automationEditor( void ) : m_zoomingXComboBox->setModel( &m_zoomingXModel ); connect( &m_zoomingXModel, SIGNAL( dataChanged() ), - this, SLOT( zoomingXChanged() ) ); + this, SLOT( zoomingXChanged() ), Qt::QueuedConnection ); QLabel * zoom_y_lbl = new QLabel( m_toolBar ); @@ -298,7 +298,7 @@ automationEditor::automationEditor( void ) : m_zoomingYComboBox->setModel( &m_zoomingYModel ); connect( &m_zoomingYModel, SIGNAL( dataChanged() ), - this, SLOT( zoomingYChanged() ) ); + this, SLOT( zoomingYChanged() ), Qt::QueuedConnection ); // setup quantize-stuff