Changeset 884

Show
Ignore:
Timestamp:
07/11/07 09:11:38 (1 year ago)
Author:
ok_computer
Message:

Fixing redraw when no custom thumb image is specified.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/jahwidgets/src/qt3/widgets/slider.cpp

    r782 r884  
    9191                 
    9292                // only resize/refill if we really have to 
    93                 if ( paintBuffer.isNull() ) 
     93                if ( paintBuffer.isNull() || thumb.isNull() ) 
    9494                { 
    9595                        paintBuffer.resize( size() ); 
     
    100100 
    101101                // Erase previous thumb rect if necessary 
    102                 if ( !lastThumbRect.isNull()  
     102                if ( !lastThumbRect.isNull() 
    103103                         && parentWidget() 
    104104                         && lastThumbRect != thumbRect() )