VirtualBox

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


Ignore:
Timestamp:
Apr 8, 2014 2:26:36 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
93185
Message:

FE/Qt: Medium Manager rework/cleanup: Restoring dialog-proxy-icon functionality using Qt stuff.

File:
1 edited

Legend:

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

    r50985 r50999  
    13881388    UIMediumItem *pMediumItem = mediumItem(type);
    13891389
    1390     /* If medium-item set: */
     1390#ifdef Q_WS_MAC
     1391    /* Set the file for the proxy icon: */
     1392    if (pMediumItem == currentMediumItem())
     1393        setWindowFilePath(pMediumItem ? pMediumItem->location() : QString());
     1394#endif /* Q_WS_MAC */
     1395
     1396    /* Make sure current medium-item visible: */
    13911397    if (pMediumItem)
    1392     {
    1393         /* Set the file for the proxy icon: */
    1394         setFileForProxyIcon(pMediumItem->location());
    1395         /* Make sure current medium-item visible: */
    13961398        treeWidget(type)->scrollToItem(pMediumItem, QAbstractItemView::EnsureVisible);
    1397     }
    13981399
    13991400    /* Update actions: */
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