VirtualBox

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


Ignore:
Timestamp:
Feb 29, 2008 3:50:02 PM (17 years ago)
Author:
vboxsync
Message:

FE/Qt: Reuse existing enum value strings instead of introducing new ones.

File:
1 edited

Legend:

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

    r7207 r7221  
    15861586                     * this name instead */
    15871587                    if (type == KNetworkAttachmentType_HostInterface)
    1588                         attType = attType.arg (tr ("host interface, %1",
    1589                             "details report (network)").arg (adapter.GetHostInterface()));
     1588                        attType = attType.arg ("%1 '%2'")
     1589                            .arg (vboxGlobal().toString (type), adapter.GetHostInterface());
    15901590                    else if (type == KNetworkAttachmentType_Internal)
    1591                         attType = attType.arg (tr ("internal network, '%1'",
    1592                             "details report (network)").arg (adapter.GetInternalNetwork()));
     1591                        attType = attType.arg ("%1 '%2'")
     1592                            .arg (vboxGlobal().toString (type), adapter.GetInternalNetwork());
    15931593                    else
    15941594                        attType = attType.arg (vboxGlobal().toString (type));
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