Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-1892

"operator=" in QGeoManeuver class will cause those two objects use one memory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 1.1.2
    • Location
    • None
    • Latest Belle sw.

    Description

      Deep copy does not occur when datamembers of QGeoManeuver class is modified via "ver" object.

      QGeoManeuver ver;
      QGeoManeuver ver1(ver);
      QGeoManeuver ver2;
      ver2 = ver;
      ver.setPosition(QGeoCoordinate(10.0,10,0));
      //below lines will return true
      QVERIFY(ver == ver2);
      QVERIFY(ver1 == ver2);

      Attachments

        Activity

          People

            alex Alex (closed Nokia identity) (Inactive)
            tarmo Tarmo Lehto (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: