VirtualBox

Changeset 70591 in vbox


Ignore:
Timestamp:
Jan 15, 2018 1:50:29 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
120296
Message:

FE/Qt: bugref:9072: Make scrollbar markings work correctly with line wrapping

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerSearchPanel.cpp

    r70581 r70591  
    553553            ++m_iMatchCount;
    554554            /* The following assumes we have single line blocks only: */
    555             int cursorLine = pDocument->findBlock(highlightCursor.position()).firstLineNumber();
     555            int cursorLine = pDocument->findBlock(highlightCursor.position()).blockNumber();
    556556            if (lineCount != 0)
    557557                m_matchLocationVector.push_back(cursorLine / static_cast<float>(lineCount));
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette