Skip to content

Commit 7b85f01

Browse files
committed
declare iconSize
1 parent 3aa771a commit 7b85f01

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/gui/folderstatusdelegate.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,8 @@ void FolderStatusDelegate::paint(QPainter *painter, const QStyleOptionViewItem &
282282
localPathRect.setLeft(nextToIcon);
283283
remotePathRect.setLeft(nextToIcon);
284284

285+
const auto iconSize = iconRect.width();
286+
285287
auto optionsButtonVisualRect = optionsButtonRect(option.rect, option.direction);
286288

287289
// NMC Customization

0 commit comments

Comments
 (0)