- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/tools/designer/src/components/propertyeditor/brushpropertymanager.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 120 120 } 121 121 122 123 124 125 126 127 128 129 130 131 132 122 133 const BrushPropertyManager::EnumIndexIconMap &BrushPropertyManager::brushStyleIcons() 123 134 { 124 135 // Create a map of icons for the brush style editor 125 static EnumIndexIconMap rc; 126 if (rc.empty()) { 136 if (brushIcons()->empty()) { 127 137 const int brushStyleCount = sizeof(brushStyles)/sizeof(const char *); 128 138 QBrush brush(Qt::black); … … 131 141 const Qt::BrushStyle style = brushStyleIndexToStyle(i); 132 142 brush.setStyle(style); 133 rc.insert(i, QtPropertyBrowserUtils::brushValueIcon(brush));143 insert(i, QtPropertyBrowserUtils::brushValueIcon(brush)); 134 144 } 135 145 } 136 return rc;146 return ; 137 147 } 138 148
Note:
See TracChangeset
for help on using the changeset viewer.