apparently we can't make templated typedefs...

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@884 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Paul Giblock
2008-04-04 07:38:03 +00:00
parent 3541af29df
commit 1fbff410f8
4 changed files with 13 additions and 10 deletions

View File

@@ -70,11 +70,14 @@ void modelView::doConnections( void )
{
if( m_model != NULL )
{
// Why queued connections? this causes a terrible stair effect when
// the GUI can't keep up. If anything should suffer, it should be
// GUI response.
QWidget * w = dynamic_cast<QWidget *>( this );
QObject::connect( m_model, SIGNAL( dataChanged() ),
w, SLOT( update() ), Qt::QueuedConnection );
w, SLOT( update() ) /*, Qt::QueuedConnection */ );
QObject::connect( m_model, SIGNAL( propertiesChanged() ),
w, SLOT( update() ), Qt::QueuedConnection );
w, SLOT( update() ) /*, Qt::QueuedConnection */ );
}
}