Changeset 79579 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Jul 7, 2019 3:59:20 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 131869
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageBasic1.cpp
r79575 r79579 408 408 { 409 409 const int iCurrentIndex = m_pDestinationComboBox->currentIndex(); 410 const QString strCurrentToolTip = m_pDestinationComboBox->itemData(iCurrentIndex, Qt::ToolTipRole).toString(); 411 AssertMsg(!strCurrentToolTip.isEmpty(), ("Data not found!")); 412 m_pDestinationComboBox->setToolTip(strCurrentToolTip); 410 if (iCurrentIndex != -1) 411 { 412 const QString strCurrentToolTip = m_pDestinationComboBox->itemData(iCurrentIndex, Qt::ToolTipRole).toString(); 413 AssertMsg(!strCurrentToolTip.isEmpty(), ("Data not found!")); 414 m_pDestinationComboBox->setToolTip(strCurrentToolTip); 415 } 413 416 } 414 417 … … 660 663 } 661 664 } 662 663 /* Populate destinations: */664 populateDestinations();665 665 666 666 /* Setup connections: */ … … 748 748 if (!m_fPolished) 749 749 { 750 /* Populate destinations: */ 751 populateDestinations(); 752 /* Choose one of them, asynchronously: */ 750 753 QMetaObject::invokeMethod(this, "sltHandleDestinationChange", Qt::QueuedConnection); 751 754 m_fPolished = true; -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageExpert.cpp
r79575 r79579 161 161 } 162 162 163 /* Populate destinations: */164 populateDestinations();165 166 163 /* Setup connections: */ 167 164 if (gpManager) … … 224 221 if (!m_fPolished) 225 222 { 223 /* Populate destinations: */ 224 populateDestinations(); 225 /* Choose one of them, asynchronously: */ 226 226 QMetaObject::invokeMethod(this, "sltHandleDestinationChange", Qt::QueuedConnection); 227 227 m_fPolished = true;
Note:
See TracChangeset
for help on using the changeset viewer.