|
|
@ -611,7 +611,7 @@ void KFileIconView::slotPreviewResult( TDEIO::Job *job )
|
|
|
|
void KFileIconView::gotPreview( const KFileItem *item, const TQPixmap& pix )
|
|
|
|
void KFileIconView::gotPreview( const KFileItem *item, const TQPixmap& pix )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
KFileIconViewItem *it = viewItem( item );
|
|
|
|
KFileIconViewItem *it = viewItem( item );
|
|
|
|
if ( it )
|
|
|
|
if ( it ) {
|
|
|
|
if( item->overlays() & TDEIcon::HiddenOverlay )
|
|
|
|
if( item->overlays() & TDEIcon::HiddenOverlay )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
TQPixmap p( pix );
|
|
|
|
TQPixmap p( pix );
|
|
|
@ -619,9 +619,11 @@ void KFileIconView::gotPreview( const KFileItem *item, const TQPixmap& pix )
|
|
|
|
TDEIconEffect::semiTransparent( p );
|
|
|
|
TDEIconEffect::semiTransparent( p );
|
|
|
|
it->setPixmap( p );
|
|
|
|
it->setPixmap( p );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else {
|
|
|
|
it->setPixmap( pix );
|
|
|
|
it->setPixmap( pix );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
bool KFileIconView::canPreview( const KFileItem *item ) const
|
|
|
|
bool KFileIconView::canPreview( const KFileItem *item ) const
|
|
|
|
{
|
|
|
|
{
|
|
|
|