qmake/option.cpp
branchRCL_3
changeset 5 d3bac044e0f0
parent 4 3b1da2848fc7
equal deleted inserted replaced
4:3b1da2848fc7 5:d3bac044e0f0
   632 #endif
   632 #endif
   633     } else if(flags & Option::FixPathToTargetSeparators) {
   633     } else if(flags & Option::FixPathToTargetSeparators) {
   634         string = string.replace('/', Option::dir_sep).replace('\\', Option::dir_sep);
   634         string = string.replace('/', Option::dir_sep).replace('\\', Option::dir_sep);
   635     }
   635     }
   636 
   636 
   637     if (string.startsWith("\"") && string.endsWith("\"") ||
   637     if ((string.startsWith("\"") && string.endsWith("\"")) ||
   638         string.startsWith("\'") && string.endsWith("\'"))
   638         (string.startsWith("\'") && string.endsWith("\'")))
   639         string = string.mid(1, string.length()-2);
   639         string = string.mid(1, string.length()-2);
   640 
   640 
   641     //cache
   641     //cache
   642     //qDebug() << "Fix" << orig_string << "->" << string;
   642     //qDebug() << "Fix" << orig_string << "->" << string;
   643     cache->insert(cacheKey, string);
   643     cache->insert(cacheKey, string);