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

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

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

revision 3517 by capela, Mon Jan 2 15:31:47 2017 UTC revision 3518 by capela, Sun Jun 30 16:58:30 2019 UTC
# Line 1  Line 1 
1  // qsamplerOptions.cpp  // qsamplerOptions.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,2015 Christian Schoenebeck     Copyright (C) 2007,2008,2015 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 299  bool Options::parse_args ( const QString Line 299  bool Options::parse_args ( const QString
299                  }                  }
300    
301                  QString sArg = args.at(i);                  QString sArg = args.at(i);
302                  QString sVal = QString::null;                  QString sVal;
303                  const int iEqual = sArg.indexOf("=");                  const int iEqual = sArg.indexOf("=");
304                  if (iEqual >= 0) {                  if (iEqual >= 0) {
305                          sVal = sArg.right(sArg.length() - iEqual - 1);                          sVal = sArg.right(sArg.length() - iEqual - 1);

Legend:
Removed from v.3517  
changed lines
  Added in v.3518

  ViewVC Help
Powered by ViewVC