add: QString default_Location = getenv("MAIL");  if (default_Location.isNull()) { default_Location = _PATH_MAILDIR; default_Location += '/'; default_Location += getenv("USER"); } if ( !mSpoolFiles.contains(default_Location) ) mSpoolFiles << default_Location;  default_Location = default_Location + ".lock"; if ( !mLockFiles.contains(default_Location) ) mLockFiles << default_Location;
context: ProcmailRCParser::ProcmailRCParser(QString fname)  : mProcmailrc(fname),    mStream(new QTextStream(&mProcmailrc)){  mVars.setAutoDelete(true);  if( !fname || fname.isEmpty() ) {    fname = QDir::homeDirPath() + "/.procmailrc";    mProcmailrc.setName(fname);  }  static QRegExp lockFileGlobal("LOCKFILE=", true),    lockFileLocal("^:0", true);  if(  mProcmailrc.open(IO_ReadOnly) ) {    QString s;    while( !mStream->eof() ) {      s = mStream->readLine().stripWhiteSpace();      if(  s[0] == '#' ) continue; // skip comments      int commentPos = -1;      if( (commentPos = s.find('#')) > -1 ) {        // get rid of trailing comment        s.truncate(commentPos);        s = s.stripWhiteSpace();      }      if(  lockFileGlobal.search(s) != -1 ) {        processGlobalLock(s);      } else if( lockFileLocal.search(s) != -1 ) {        processLocalLock(s);      } else if( int i = s.find('=') ) {        processVariableSetting(s,i);      }    }  }}