Skip to content

Commit a61dbc3

Browse files
memuratsgithub-actions
authored andcommitted
declare iconSize
1 parent 911d5ce commit a61dbc3

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)