~ubuntu-branches/ubuntu/saucy/digikam/saucy

« back to all changes in this revision

Viewing changes to libs/database/imagequerybuilder.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Christian Mangold
  • Date: 2010-04-09 21:30:01 UTC
  • mfrom: (1.2.28 upstream)
  • Revision ID: james.westby@ubuntu.com-20100409213001-4bfyibrd359rn7o3
Tags: 2:1.2.0-0ubuntu1
* New upstream release (LP: #560576)
* Remove all patches, fixed upstream
  - Remove quilt build-depend

Show diffs side-by-side

added added

removed removed

Lines of Context:
373
373
            sql += " (" + name + " IN (";
374
374
            AlbumDB::addBoundValuePlaceholders(sql, values.size());
375
375
            sql += ") ";
376
 
            foreach (qlonglong v, values)
 
376
            foreach (const qlonglong &v, values)
377
377
                *boundValues << v;
378
378
            sql += " ) ";
379
379
        }
447
447
            }
448
448
            if (!wildcards.isEmpty())
449
449
            {
450
 
                foreach(QString wildcard, wildcards)
 
450
                foreach(QString wildcard, wildcards) // krazy:exclude=foreach
451
451
                {
452
452
                    ImageQueryBuilder::addSqlOperator(sql, SearchXml::Or, firstCondition);
453
453
                    firstCondition = false;