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

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

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

revision 2039 by capela, Thu Jan 7 19:39:47 2010 UTC revision 3520 by capela, Mon Jul 1 10:53:41 2019 UTC
# Line 2  Line 2 
2  //  //
3  /****************************************************************************  /****************************************************************************
4     Copyright (C) 2008, Christian Schoenebeck     Copyright (C) 2008, Christian Schoenebeck
5     Copyright (C) 2010, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2010-2013, rncbc aka Rui Nuno Capela. All rights reserved.
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 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 27  Line 27 
27    
28  #include <QGridLayout>  #include <QGridLayout>
29    
30    #if QT_VERSION < QT_VERSION_CHECK(4, 5, 0)
31    namespace Qt {
32    const WindowFlags WindowCloseButtonHint = WindowFlags(0x08000000);
33    }
34    #endif
35    
36    
37  namespace QSampler {  namespace QSampler {
38    
# Line 44  MidiActivityLED::MidiActivityLED ( QStri Line 50  MidiActivityLED::MidiActivityLED ( QStri
50          : QLabel(sText, pParent)          : QLabel(sText, pParent)
51  {  {
52          if (++g_iMidiActivityRefCount == 1) {          if (++g_iMidiActivityRefCount == 1) {
53                  g_pMidiActivityLedOn  = new QPixmap(":/icons/ledon1.png");                  g_pMidiActivityLedOn  = new QPixmap(":/images/ledon1.png");
54                  g_pMidiActivityLedOff = new QPixmap(":/icons/ledoff1.png");                  g_pMidiActivityLedOff = new QPixmap(":/images/ledoff1.png");
55          }          }
56    
57          setPixmap(*g_pMidiActivityLedOff);          setPixmap(*g_pMidiActivityLedOff);

Legend:
Removed from v.2039  
changed lines
  Added in v.3520

  ViewVC Help
Powered by ViewVC