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

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

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

revision 2058 by schoenebeck, Sat Feb 16 19:41:05 2008 UTC revision 2059 by capela, Wed Feb 17 19:50:04 2010 UTC
# Line 1  Line 1 
1  // qsamplerDevice.cpp  // qsamplerDevice.cpp
2  //  //
3  /****************************************************************************  /****************************************************************************
4     Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2004-2010, rncbc aka Rui Nuno Capela. All rights reserved.
5     Copyright (C) 2007, 2008 Christian Schoenebeck     Copyright (C) 2007, 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 1194  QWidget* DeviceParamDelegate::createEdit Line 1194  QWidget* DeviceParamDelegate::createEdit
1194                                  );                                  );
1195                                  pSpinBox->setMaximum(                                  pSpinBox->setMaximum(
1196                                          (!r.param.range_max.isEmpty()) ?                                          (!r.param.range_max.isEmpty()) ?
1197                                                  r.param.range_max.toInt() : (1 << 16) // or better a nigher default max value ?                                                  r.param.range_max.toInt() : (1 << 24) // or better a higher default max value ?
1198                                  );                                  );
1199                                  pSpinBox->setValue(val.toInt());                                  pSpinBox->setValue(val.toInt());
1200                                  return pSpinBox;                                  return pSpinBox;

Legend:
Removed from v.2058  
changed lines
  Added in v.2059

  ViewVC Help
Powered by ViewVC