VirtualBox

Changeset 74945 in vbox for trunk


Ignore:
Timestamp:
Oct 19, 2018 2:33:29 PM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9230: Cloud Profile Manager: QVariant framework from Qt 5.6.1 isn't aware how to eat enums raw implicitly and that breaks whole the manager UI.

File:
1 edited

Legend:

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

    r74930 r74945  
    112112    setIcon(Column_Name, UIIconPool::iconSet(":/provider_oracle_16px.png"));
    113113    /* Assign item type: */
    114     setData(Column_Name, Data_ItemType, CloudItemType_Provider);
     114    setData(Column_Name, Data_ItemType, QVariant::fromValue(CloudItemType_Provider));
    115115}
    116116
     
    132132    setIcon(Column_Name, UIIconPool::iconSet(":/profile_16px.png"));
    133133    /* Assign item type: */
    134     setData(Column_Name, Data_ItemType, CloudItemType_Profile);
     134    setData(Column_Name, Data_ItemType, QVariant::fromValue(CloudItemType_Profile));
    135135}
    136136
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