Changeset 894
- Timestamp:
- 08/09/07 17:08:36 (1 year ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/jahwidgets/src/qt3/widgets/timelineSlider.cpp
r892 r894 279 279 // We've got to be in the thumb rect and outside the currentMarkerRect region 280 280 if ( inRect().contains( pos ) == false ) return false; 281 282 // else check the marker rect 283 QRect markerRect = currentMarkerRect(); 284 return (pos.y() > markerRect.bottom() || pos.y() < markerRect.top()); 281 return true; 285 282 } 286 283 … … 289 286 // We've got to be in the thumb rect and outside the currentMarkerRect region 290 287 if ( outRect().contains( pos ) == false ) return false; 291 292 // else check the marker rect 293 QRect markerRect = currentMarkerRect(); 294 return (pos.y() > markerRect.bottom() || pos.y() < markerRect.top()); 288 return true; 295 289 } 296 290 … … 1142 1136 } 1143 1137 // else hit test the in/out points (and marker) and re-paint if necessary 1144 else { 1138 else 1139 { 1145 1140 // Avoid an update unless we need one 1146 1141 bool needsUpdate = false;
