- Timestamp:
- 05/05/10 15:59:53 (13 years ago)
- Branches:
- master, qt5
- Children:
- 408bf66
- Parents:
- a6a9e0b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mvc/delegate.cpp
ra6a9e0b r900bcf1 326 326 { 327 327 ControlId id = i.next(); 328 if(mControls[id]->drawRect(static_cast<QTreeView*>(parent())->visualRect(aIndex)).contains(aPoint)) 329 { 330 if(id == WarningControl) 331 { 332 if(static_cast<Event*>(aIndex.internalPointer())->hasTimeConflict()) 333 return id; 334 } 335 else 336 return id; 328 Control *control = mControls[id]; 329 if (control->enabled() 330 and control->drawRect(static_cast<QTreeView*>(parent())->visualRect(aIndex)).contains(aPoint)) 331 { 332 return id; 337 333 } 338 334 }
Note: See TracChangeset
for help on using the changeset viewer.