VirtualBox

Changeset 80339 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Aug 18, 2019 10:38:58 AM (5 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9072: Replacing repaint() calls with update()

Location:
trunk/src/VBox/Frontends/VirtualBox/src/logviewer
Files:
2 edited

Legend:

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

    r78462 r80339  
    146146    cursor.movePosition(QTextCursor::End, QTextCursor::MoveAnchor);
    147147    m_pTextEdit->setTextCursor(cursor);
    148     repaint();
     148    update();
    149149}
    150150
     
    154154        return;
    155155    m_pTextEdit->appendHtml(strText);
    156     repaint();
     156    update();
    157157}
    158158
     
    169169        return;
    170170    m_pTextEdit->setScrollBarMarkingsVector(vector);
    171     repaint();
     171    update();
    172172}
    173173
     
    177177        return;
    178178    m_pTextEdit->clearScrollBarMarkingsVector();
    179     repaint();
     179    update();
    180180}
    181181
  • trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerTextEdit.cpp

    r78462 r80339  
    171171    if (m_pTextEdit)
    172172        m_pTextEdit->setMouseCursorLine(m_pTextEdit->lineNumberForPos(pEvent->pos()));
    173     repaint();
     173    update();
    174174}
    175175
     
    354354    setMouseCursorLine(lineNumberForPos(pEvent->pos()));
    355355    if (m_pLineNumberArea)
    356         m_pLineNumberArea->repaint();
     356        m_pLineNumberArea->update();
    357357    QPlainTextEdit::mouseMoveEvent(pEvent);
    358358}
     
    432432{
    433433    m_bookmarkLineSet = lineSet;
    434     repaint();
     434    update();
    435435}
    436436
     
    473473    m_bShownTextIsFiltered = warning;
    474474    if (viewport())
    475         viewport()->repaint();
     475        viewport()->update();
    476476}
    477477
Note: See TracChangeset for help on using the changeset viewer.

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