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:
@@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user