VirtualBox

Changeset 51289 in vbox for trunk


Ignore:
Timestamp:
May 19, 2014 2:05:27 PM (11 years ago)
Author:
vboxsync
Message:

FE/Qt: Mac OS X: HiDPI: Integrate medium icons.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMedium.cpp

    r51054 r51289  
    3131#include "UIMessageCenter.h"
    3232#include "UIExtraDataManager.h"
     33#include "UIIconPool.h"
    3334
    3435/* COM includes: */
     
    450451
    451452    if (fCheckRO && m_fReadOnly)
    452         pixmap = VBoxGlobal::joinPixmaps(pixmap, QPixmap(":/hd_new_16px.png"));
     453    {
     454        QIcon icon = UIIconPool::iconSet(":/hd_new_16px.png");
     455        pixmap = VBoxGlobal::joinPixmaps(pixmap, icon.pixmap(icon.availableSizes().first()));
     456    }
    453457
    454458    return pixmap;
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