Ignore:
Timestamp:
Aug 2, 2010, 9:27:30 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.3 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/tools/assistant/lib/qhelpindexwidget.cpp

    r651 r769  
    163163    m_mutex.unlock();
    164164
    165     foreach (QString dbFileName, m_helpEngine->fileNameReaderMap.keys()) {
     165    foreach (const QString &dbFileName, m_helpEngine->fileNameReaderMap.keys()) {
    166166        m_mutex.lock();
    167167        if (m_abort) {
     
    179179        if (!lst.isEmpty()) {
    180180            m_mutex.lock();
    181             foreach (QString s, lst)
     181            foreach (const QString &s, lst)
    182182                indicesSet.insert(s);
    183183            if (m_abort) {
     
    318318        QRegExp regExp(wildcard, Qt::CaseInsensitive);
    319319        regExp.setPatternSyntax(QRegExp::Wildcard);
    320         foreach (QString index, d->indices) {
     320        foreach (const QString &index, d->indices) {
    321321            if (index.contains(regExp)) {
    322322                lst.append(index);
     
    333333        }
    334334    } else {
    335         foreach (QString index, d->indices) {
     335        foreach (const QString &index, d->indices) {
    336336            if (index.contains(filter, Qt::CaseInsensitive)) {
    337337                lst.append(index);
Note: See TracChangeset for help on using the changeset viewer.