VirtualBox

Changeset 92764 in vbox


Ignore:
Timestamp:
Dec 6, 2021 1:37:04 PM (3 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:10163: UINetworkManager: Both cloud provider and cloud profile can be missing; Let the user to chose another one manually.

File:
1 edited

Legend:

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

    r92762 r92764  
    120120        m_pLabelProviderName->setText(tr("&Provider:"));
    121121    if (m_pComboProviderName)
    122     {
    123122        m_pComboProviderName->setToolTip(tr("Holds the cloud provider for this network."));
    124         m_pComboProviderName->setItemText(0, "--");
    125     }
    126123    if (m_pLabelProfileName)
    127124        m_pLabelProfileName->setText(tr("P&rofile:"));
     
    341338
    342339    /* Add empty item: */
    343     m_pComboProviderName->addItem(QString());
     340    m_pComboProviderName->addItem("--");
    344341
    345342    /* Iterate through existing providers: */
     
    394391    m_pComboProfileName->clear();
    395392
     393    /* Add empty item: */
     394    m_pComboProfileName->addItem("--");
     395
    396396    /* Acquire provider short name: */
    397397    const QString strProviderShortName = m_pComboProviderName->currentData().toString();
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