Changeset 74929 in vbox
- Timestamp:
- Oct 18, 2018 5:23:49 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 125942
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/cloud/UICloudProfileManager.cpp
r74928 r74929 189 189 /* Is can be that there is provider item, not profile item currently selected. 190 190 * In such case we are not applying parameters, we are creating new one profile. */ 191 UIItemCloudProvider *pMaybeProviderItem = static_cast<UIItemCloudProvider*>(m_pTreeWidget->currentItem()); 191 QTreeWidgetItem *pItem = m_pTreeWidget->currentItem(); 192 UIItemCloudProvider *pMaybeProviderItem = pItem && pItem->data(0, Data_ItemType).value<CloudItemType>() == CloudItemType_Provider 193 ? static_cast<UIItemCloudProvider*>(pItem) : 0; 192 194 if (pMaybeProviderItem) 193 195 return sltAddCloudProfile();
Note:
See TracChangeset
for help on using the changeset viewer.