summaryrefslogtreecommitdiffstats
path: root/src/gvcore/filethumbnailviewitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/filethumbnailviewitem.cpp')
-rw-r--r--src/gvcore/filethumbnailviewitem.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gvcore/filethumbnailviewitem.cpp b/src/gvcore/filethumbnailviewitem.cpp
index 899bffd..46a79ca 100644
--- a/src/gvcore/filethumbnailviewitem.cpp
+++ b/src/gvcore/filethumbnailviewitem.cpp
@@ -319,13 +319,11 @@ void FileThumbnailViewItem::paintItem(TQPainter *p, const TQColorGroup &cg) {
bool isRight=view->itemTextPos()==TQIconView::Right;
bool isShownItem=view->shownFileItem() && view->shownFileItem()->extraData(view)==this;
bool isImage=!Archive::fileItemIsDirOrArchive(mFileItem);
- int textX, textY, textW, textH;
+ int textX, textY;
int thumbnailSize=FileViewConfig::thumbnailSize();
textX=textRect(false).x();
textY=textRect(false).y();
- textW=textRect(false).width();
- textH=textRect(false).height();
// Draw pixmap
TQRect pRect = pixmapRect(false);