diff options
author | Alexander Golubev <[email protected]> | 2024-02-25 04:49:11 +0300 |
---|---|---|
committer | Alexander Golubev <[email protected]> | 2024-03-07 22:23:10 +0300 |
commit | 430301a436a5526961c95810cd1d9057956a6d08 (patch) | |
tree | 47976c19c04455327d7e56c5273997136613242c /src/gvcore/filethumbnailviewitem.cpp | |
parent | 686ac453212e8e45f007353890fc4ca35eed39cf (diff) | |
download | gwenview-430301a436a5526961c95810cd1d9057956a6d08.tar.gz gwenview-430301a436a5526961c95810cd1d9057956a6d08.zip |
Suppress several warnings
Signed-off-by: Alexander Golubev <[email protected]>
Diffstat (limited to 'src/gvcore/filethumbnailviewitem.cpp')
-rw-r--r-- | src/gvcore/filethumbnailviewitem.cpp | 4 |
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); |