summaryrefslogtreecommitdiffstats
path: root/src/gvcore/filethumbnailviewitem.cpp
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2024-02-25 04:49:11 +0300
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-03-08 10:37:19 +0900
commitf9cd02afd1dd2fda167df0dbb3a7347b999e4517 (patch)
treea9be09925577f8f6bcbf5f70a4e8ecbde68e19d8 /src/gvcore/filethumbnailviewitem.cpp
parente00293c122b5f29d0790e6edcbdffc49e3449df9 (diff)
downloadgwenview-f9cd02afd1dd2fda167df0dbb3a7347b999e4517.tar.gz
gwenview-f9cd02afd1dd2fda167df0dbb3a7347b999e4517.zip
Suppress several warnings
Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit 430301a436a5526961c95810cd1d9057956a6d08)
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);