From dd4e7c8aaf32c1e9cbcd0c8ca3ee21a9cfd446ce Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Thu, 2 Sep 2010 01:53:25 +0200 Subject: [PATCH] Revert "PianoView: call InstrumentTrack::silenceAllNotes() on focus out" This reverts commit 2f921303ebcf497617c439953e88bbf13cb60a7b. --- src/gui/PianoView.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/gui/PianoView.cpp b/src/gui/PianoView.cpp index 024d79e2a..343f1a4d1 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 + * Piano.cpp - implementation of piano-widget used in instrument-track-window + * for testing + according model class * * Copyright (c) 2004-2010 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. */ @@ -722,9 +723,6 @@ void PianoView::focusOutEvent( QFocusEvent * ) m_piano->m_pressedKeys[i] = false; } } - - m_piano->m_instrumentTrack->silenceAllNotes(); - update(); }