Revert "PianoView: call InstrumentTrack::silenceAllNotes() on focus out"

This reverts commit 491910357b.
This commit is contained in:
Tobias Doerffel
2010-09-02 01:47:28 +02:00
parent a2a1277660
commit 706201dd79

View File

@@ -1,8 +1,9 @@
/*
* PianoView.cpp - implementation of piano widget used in instrument-track-window
*
* Copyright (c) 2004-2010 Tobias Doerffel <tobydox/at/users.sourceforge.net>
* Piano.cpp - implementation of piano-widget used in instrument-track-window
* for testing + according model class
*
* Copyright (c) 2004-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
*
* This program is free software; you can redistribute it and/or
@@ -22,7 +23,7 @@
*
*/
/** \file PianoView.cpp
/** \file piano.cpp
* \brief A piano keyboard to play notes on in the instrument plugin window.
*/
@@ -720,9 +721,6 @@ void PianoView::focusOutEvent( QFocusEvent * )
m_piano->m_pressedKeys[i] = false;
}
}
m_piano->m_instrumentTrack->silenceAllNotes();
update();
}