From 706201dd79c0de0c86d0560beaa0328113fa5b82 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Thu, 2 Sep 2010 01:47:28 +0200 Subject: [PATCH] Revert "PianoView: call InstrumentTrack::silenceAllNotes() on focus out" This reverts commit 491910357b54a5d17e74c70ae3bb73cd780b254f. --- src/gui/PianoView.cpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/gui/PianoView.cpp b/src/gui/PianoView.cpp index 3d262fe79..baeacea71 100644 --- a/src/gui/PianoView.cpp +++ b/src/gui/PianoView.cpp @@ -1,8 +1,9 @@ /* - * PianoView.cpp - implementation of piano widget used in instrument-track-window - * - * Copyright (c) 2004-2010 Tobias Doerffel + * Piano.cpp - implementation of piano-widget used in instrument-track-window + * for testing + according model class * + * Copyright (c) 2004-2009 Tobias Doerffel + * * 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(); }