Reverted back to non-Widgetized autoModelViews

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@885 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Paul Giblock
2008-04-04 08:47:06 +00:00
parent 1fbff410f8
commit dd051fbc63
7 changed files with 39 additions and 59 deletions

View File

@@ -70,14 +70,11 @@ 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 );
}
}

View File

@@ -577,12 +577,12 @@ void knob::connectToMidiDevice( void )
void knob::connectToController( void )
{
// TODO[pg]: Display a dialog with list of controllers currently in the song
// in addition to any system MIDI controllers
// TODO[pg]: Display a dialog with list of controllers currently in the song
// in addition to any system MIDI controllers
controller * c = new controller();
controller * c = new controller();
model()->setController( c );
model()->setController( c );
}