VirtualBox

Changeset 80275 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 14, 2019 2:35:25 PM (5 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:7720: UINetworkAttachmentEditor: Explicit convertion from KNetworkAttachmentType to QVariant missed in r132543.

File:
1 edited

Legend:

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

    r80214 r80275  
    344344            continue;
    345345        m_pComboType->insertItem(iAttachmentTypeIndex, gpConverter->toString(enmType));
    346         m_pComboType->setItemData(iAttachmentTypeIndex, enmType);
     346        m_pComboType->setItemData(iAttachmentTypeIndex, QVariant::fromValue(enmType));
    347347        m_pComboType->setItemData(iAttachmentTypeIndex, m_pComboType->itemText(iAttachmentTypeIndex), Qt::ToolTipRole);
    348348        ++iAttachmentTypeIndex;
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