Skip to content

Commit

Permalink
Add missing const.
Browse files Browse the repository at this point in the history
  • Loading branch information
przemek83 committed Dec 25, 2024
1 parent f72cc10 commit 18d023e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FilterStrings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ FilterStrings::FilterStrings(const QString& name, QStringList initialList,

initItems();

if (int longestNameWidth{getLongestItemWitdth()};
if (const int longestNameWidth{getLongestItemWitdth()};
minNameWidthForScrollMargin_ <= longestNameWidth)
addMarginForScrollBar_ = true;

Expand Down

0 comments on commit 18d023e

Please sign in to comment.