From e432d67b3badb89bfa118be23452b412a8e3188c Mon Sep 17 00:00:00 2001 From: PriitUring <74606403+PriitUring@users.noreply.github.com> Date: Wed, 12 May 2021 05:00:19 +0300 Subject: [PATCH] Fix typo "Highlited" (#14956) --- src/gui/properties/piecesbar.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/properties/piecesbar.cpp b/src/gui/properties/piecesbar.cpp index 1086e44d1..f1f042b92 100644 --- a/src/gui/properties/piecesbar.cpp +++ b/src/gui/properties/piecesbar.cpp @@ -315,10 +315,10 @@ void PiecesBar::highlightFile(int imagePos) BitTorrent::TorrentInfo::PieceRange filePieces = m_torrent->info().filePieces(fileIndices.first()); ImageRange imageRange = transform.imagePos(filePieces); - QRect newHighlitedRegion {imageRange.first(), 0, imageRange.size(), m_image.height()}; - if (newHighlitedRegion != m_highlightedRegion) + QRect newHighlightedRegion {imageRange.first(), 0, imageRange.size(), m_image.height()}; + if (newHighlightedRegion != m_highlightedRegion) { - m_highlightedRegion = newHighlitedRegion; + m_highlightedRegion = newHighlightedRegion; update(); } }