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

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

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

revision 1461 by schoenebeck, Sun Oct 28 23:30:36 2007 UTC revision 1464 by capela, Thu Nov 1 17:14:21 2007 UTC
# Line 2  Line 2 
2  //  //
3  /****************************************************************************  /****************************************************************************
4     Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved.
5       Copyright (C) 2007, 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
8     modify it under the terms of the GNU General Public License     modify it under the terms of the GNU General Public License
# Line 953  void qsamplerChannelRoutingTable::refres Line 954  void qsamplerChannelRoutingTable::refres
954          }          }
955    
956          // Those items shall have a proper pixmap...          // Those items shall have a proper pixmap...
957          QPixmap pmChannel = QPixmap::fromMimeSource("qsamplerChannel.png");          QPixmap pmChannel = QPixmap(":/icons/qsamplerChannel.png");
958          QPixmap pmDevice;          QPixmap pmDevice;
959          switch (pDevice->deviceType()) {          switch (pDevice->deviceType()) {
960          case qsamplerDevice::Audio:          case qsamplerDevice::Audio:
961                  pmDevice = QPixmap::fromMimeSource("audio2.png");                  pmDevice = QPixmap(":/icons/audio2.png");
962                  break;                  break;
963          case qsamplerDevice::Midi:          case qsamplerDevice::Midi:
964                  pmDevice = QPixmap::fromMimeSource("midi2.png");                  pmDevice = QPixmap(":/icons/midi2.png");
965                  break;                  break;
966          case qsamplerDevice::None:          case qsamplerDevice::None:
967                  break;                  break;
# Line 1143  void qsamplerChannelRoutingComboBox::set Line 1144  void qsamplerChannelRoutingComboBox::set
1144  }  }
1145    
1146  #endif  #endif
1147    
1148    
1149    // end of qsamplerChannel.cpp

Legend:
Removed from v.1461  
changed lines
  Added in v.1464

  ViewVC Help
Powered by ViewVC