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

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

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

revision 3357 by capela, Tue Oct 17 21:44:20 2017 UTC revision 3555 by capela, Tue Aug 13 10:19:32 2019 UTC
# Line 1  Line 1 
1  // qsamplerUtilities.cpp  // qsamplerUtilities.cpp
2  //  //
3  /****************************************************************************  /****************************************************************************
4     Copyright (C) 2004-2017, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2004-2019, 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 115  QString lscpEscapePath ( const QString& Line 115  QString lscpEscapePath ( const QString&
115                                  !(c >= '0' && c <= '9') &&                                  !(c >= '0' && c <= '9') &&
116                                  !(c >= 'a' && c <= 'z') &&                                  !(c >= 'a' && c <= 'z') &&
117                                  !(c >= 'A' && c <= 'Z') &&                                  !(c >= 'A' && c <= 'Z') &&
118                          #if defined(_WIN32)                          #if defined(__WIN32__) || defined(_WIN32) || defined(WIN32)
119                                  !(c == ':') &&                                  !(c == ':') &&
120                          #endif                          #endif
121                                  !(c == pathSeparator)                                  !(c == pathSeparator)
# Line 219  lscpVersion_t getRemoteLscpVersion (void Line 219  lscpVersion_t getRemoteLscpVersion (void
219      lscpVersion_t result = { 0, 0 };      lscpVersion_t result = { 0, 0 };
220    
221      MainForm* pMainForm = MainForm::getInstance();      MainForm* pMainForm = MainForm::getInstance();
222      if (pMainForm == NULL)      if (pMainForm == nullptr)
223          return result;          return result;
224      if (pMainForm->client() == NULL)      if (pMainForm->client() == nullptr)
225          return result;          return result;
226    
227      lscp_server_info_t* pServerInfo =      lscp_server_info_t* pServerInfo =

Legend:
Removed from v.3357  
changed lines
  Added in v.3555

  ViewVC Help
Powered by ViewVC