/[svn]/qsampler/trunk/src/qsamplerChannelFxForm.cpp
ViewVC logotype

Diff of /qsampler/trunk/src/qsamplerChannelFxForm.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2458 by capela, Sat Dec 29 19:12:58 2012 UTC revision 2459 by capela, Mon Jul 8 10:06:57 2013 UTC
# Line 1  Line 1 
1  // qsamplerChannelFxForm.cpp  // qsamplerChannelFxForm.cpp
2  //  //
3  /****************************************************************************  /****************************************************************************
4     Copyright (C) 2010-2012, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2010-2013, rncbc aka Rui Nuno Capela. All rights reserved.
5     Copyright (C) 2008, Christian Schoenebeck     Copyright (C) 2008, Christian Schoenebeck
6    
7     This program is free software; you can redistribute it and/or     This program is free software; you can redistribute it and/or
# Line 14  Line 14 
14     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15     GNU General Public License for more details.     GNU General Public License for more details.
16    
17     You should have received a copy of the GNU General Public License     You should have received a copy of the GNU General Public License along
18     along with this program; if not, write to the Free Software     with this program; if not, write to the Free Software Foundation, Inc.,
19     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20    
21  *****************************************************************************/  *****************************************************************************/
22    
# Line 118  ChannelFxForm::ChannelFxForm ( Line 118  ChannelFxForm::ChannelFxForm (
118          FxSendsModel* pModel =          FxSendsModel* pModel =
119                  new FxSendsModel(m_pSamplerChannel->channelID(), m_ui.SendsListView);                  new FxSendsModel(m_pSamplerChannel->channelID(), m_ui.SendsListView);
120          m_ui.SendsListView->setModel(pModel);          m_ui.SendsListView->setModel(pModel);
 #if QT_VERSION >= 0x040300  
121          m_ui.SendsListView->setSelectionRectVisible(true);          m_ui.SendsListView->setSelectionRectVisible(true);
 #endif  
122    
123          const int iRowHeight = m_ui.audioRoutingTable->fontMetrics().height() + 4;          const int iRowHeight = m_ui.audioRoutingTable->fontMetrics().height() + 4;
124          m_ui.audioRoutingTable->verticalHeader()->setDefaultSectionSize(iRowHeight);          m_ui.audioRoutingTable->verticalHeader()->setDefaultSectionSize(iRowHeight);

Legend:
Removed from v.2458  
changed lines
  Added in v.2459

  ViewVC Help
Powered by ViewVC