VirtualBox

Changeset 56359 in vbox


Ignore:
Timestamp:
Jun 11, 2015 1:19:04 PM (9 years ago)
Author:
vboxsync
Message:

FE/Qt: UIFrameBuffer: Reduces a line of release logging when the rare error condition doesn't trigger.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBuffer.cpp

    r56092 r56359  
    11701170void UIFrameBufferPrivate::performResize(int iWidth, int iHeight)
    11711171{
    1172     LogRel(("GUI: UIFrameBufferPrivate::performResize: Size=%dx%d\n", iWidth, iHeight));
    1173 
    11741172    /* Make sure machine-view is assigned: */
    1175     AssertPtrReturnVoid(m_pMachineView);
     1173    AssertReturnVoidStmt(m_pMachineView, LogRel(("GUI: UIFrameBufferPrivate::performResize: Size=%dx%d\n", iWidth, iHeight)));
    11761174
    11771175    /* Invalidate visible-region (if necessary): */
     
    11881186    if (m_sourceBitmap.isNull())
    11891187    {
    1190         LogRel(("GUI: UIFrameBufferPrivate::performResize: "
    1191                 "Using fallback buffer since no source-bitmap is provided\n"));
     1188        LogRel(("GUI: UIFrameBufferPrivate::performResize: Size=%dx%d, "
     1189                "Using fallback buffer since no source bitmap is provided\n", iWidth, iHeight));
    11921190
    11931191        /* Remember new size came from hint: */
     
    12021200    else
    12031201    {
    1204         LogRel(("GUI: UIFrameBufferPrivate::performResize: "
    1205                 "Directly using source-bitmap content\n"));
     1202        LogRel(("GUI: UIFrameBufferPrivate::performResize: Size=%dx%d, "
     1203                "Directly using source bitmap content\n", iWidth, iHeight));
    12061204
    12071205        /* Acquire source-bitmap attributes: */
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