VirtualBox

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


Ignore:
Timestamp:
Aug 8, 2012 2:53:53 PM (12 years ago)
Author:
vboxsync
Message:

FE/Qt: 6234: Support for VM groups: Reflecting saved group information in details-view / general element.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/UIGDetailsElements.cpp

    r42600 r42684  
    116116            m_text << UITextTableLine(tr("Operating system", "details"),
    117117                                       vboxGlobal().vmGuestOSTypeDescription(machine().GetOSTypeId()));
     118
     119            /* Groups: */
     120            QStringList groups = machine().GetGroups().toList();
     121            if (!groups.contains("/") || groups.size() > 1)
     122                m_text << UITextTableLine(tr("Groups", "details"), groups.join(", "));
    118123        }
    119124        else
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