VirtualBox

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


Ignore:
Timestamp:
Apr 24, 2014 11:35:48 AM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
93442
Message:

FE/Qt: Build fix for r93441.

File:
1 edited

Legend:

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

    r51133 r51134  
    318318        subPixmap = subPixmap.scaled(subPixmap.size() * dBackingScaleFactor,
    319319                                     Qt::IgnoreAspectRatio, Qt::FastTransformation);
     320# ifdef Q_WS_MAC
    320321        subPixmap.setDevicePixelRatio(dBackingScaleFactor);
     322# endif /* Q_WS_MAC */
    321323    }
    322324
     
    330332        QImage scaledSubImage = subImage.scaled(subImage.size() * dBackingScaleFactor,
    331333                                                Qt::IgnoreAspectRatio, Qt::FastTransformation);
     334# ifdef Q_WS_MAC
    332335        scaledSubImage.setDevicePixelRatio(dBackingScaleFactor);
     336# endif /* Q_WS_MAC */
    333337        /* Directly draw scaled-sub-image: */
    334338        painter.drawImage(rect.x(), rect.y(), scaledSubImage);
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