InstrumentMidiIOView: coding style improvements

This commit is contained in:
Tobias Doerffel
2014-03-17 21:25:50 +01:00
parent ab4cebeea0
commit f32c89bd13
2 changed files with 6 additions and 8 deletions

View File

@@ -2,7 +2,7 @@
* InstrumentMidiIOView.h - widget in instrument-track-window for setting
* up MIDI-related stuff
*
* Copyright (c) 2005-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
* Copyright (c) 2005-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
*
@@ -23,8 +23,8 @@
*
*/
#ifndef _INSTRUMENT_MIDI_IO_VIEW_H
#define _INSTRUMENT_MIDI_IO_VIEW_H
#ifndef INSTRUMENT_MIDI_IO_VIEW_H
#define INSTRUMENT_MIDI_IO_VIEW_H
#include <QtGui/QWidget>
@@ -39,7 +39,7 @@ class QToolButton;
class InstrumentMidiIOView : public QWidget, public ModelView
{
public:
InstrumentMidiIOView( QWidget * _parent );
InstrumentMidiIOView( QWidget* parent );
virtual ~InstrumentMidiIOView();

View File

@@ -158,10 +158,8 @@ void InstrumentMidiIOView::modelChanged()
m_midiOutputGroupBox->setModel( &mp->m_writableModel );
m_outputChannelSpinBox->setModel( &mp->m_outputChannelModel );
m_fixedOutputVelocitySpinBox->setModel(
&mp->m_fixedOutputVelocityModel );
m_fixedOutputNoteSpinBox->setModel(
&mp->m_fixedOutputNoteModel );
m_fixedOutputVelocitySpinBox->setModel( &mp->m_fixedOutputVelocityModel );
m_fixedOutputNoteSpinBox->setModel( &mp->m_fixedOutputNoteModel );
m_outputProgramSpinBox->setModel( &mp->m_outputProgramModel );
if( m_rpBtn )