summaryrefslogtreecommitdiffstats
path: root/libkonq
diff options
context:
space:
mode:
Diffstat (limited to 'libkonq')
-rw-r--r--libkonq/tdefileivi.cc11
1 files changed, 3 insertions, 8 deletions
diff --git a/libkonq/tdefileivi.cc b/libkonq/tdefileivi.cc
index 629d9a27d..08bd240ba 100644
--- a/libkonq/tdefileivi.cc
+++ b/libkonq/tdefileivi.cc
@@ -570,14 +570,9 @@ void KFileIVI::updatePixmapSize()
KonqIconViewWidget* view = static_cast<KonqIconViewWidget*>( iconView() );
- if ( view && view->canPreview( item() ) ) {
- int previewSize = view->previewIconSize( size );
- setPixmapSize( TQSize( previewSize, previewSize ) );
- }
- else {
- TQSize pixSize = TQSize( size, size );
- if ( pixSize != pixmapSize() )
- setPixmapSize( pixSize );
+ TQSize pixSize = TQSize( size, size );
+ if ( pixSize != pixmapSize() ) {
+ setPixmapSize( pixSize );
}
}