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/src/tools/uic/cpp/cppwriteinitialization.cpp

    r651 r769  
    27892789
    27902790    QMap<QString, bool> map; // bool is dummy. The idea is to sort that (always generate in the same order) by putting a set into a map
    2791     foreach (QString str, directives)
    2792         map[str] = true;
     2791    foreach (const QString &str, directives)
     2792        map.insert(str, true);
    27932793
    27942794    if (map.size() == 1) {
     
    27992799    outputStream << "#if";
    28002800    bool doOr = false;
    2801     foreach (QString str, map.keys()) {
     2801    foreach (const QString &str, map.keys()) {
    28022802        if (doOr)
    28032803            outputStream << " ||";
Note: See TracChangeset for help on using the changeset viewer.