- Timestamp:
- Aug 2, 2010, 9:27:30 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.3 (added) merged: 768 /branches/vendor/nokia/qt/current merged: 767 /branches/vendor/nokia/qt/4.6.2 removed
- Property svn:mergeinfo changed
-
trunk/tools/shared/qtpropertybrowser/qtpropertybrowserutils.cpp
r651 r769 94 94 } 95 95 96 void QtCursorDatabase::clear() 97 { 98 m_cursorNames.clear(); 99 m_cursorIcons.clear(); 100 m_valueToCursorShape.clear(); 101 m_cursorShapeToValue.clear(); 102 } 103 96 104 void QtCursorDatabase::appendCursor(Qt::CursorShape shape, const QString &name, const QIcon &icon) 97 105 { 98 106 if (m_cursorShapeToValue.contains(shape)) 99 107 return; 100 int value = m_cursorNames.count();108 const int value = m_cursorNames.count(); 101 109 m_cursorNames.append(name); 102 m_cursorIcons [value] = icon;103 m_valueToCursorShape [value] = shape;104 m_cursorShapeToValue [shape] = value;110 m_cursorIcons.insert(value, icon); 111 m_valueToCursorShape.insert(value, shape); 112 m_cursorShapeToValue.insert(shape, value); 105 113 } 106 114
Note:
See TracChangeset
for help on using the changeset viewer.