Changeset 72934 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Jul 6, 2018 11:51:54 AM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 123486
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/medium/UIMediumSelector.cpp
r72933 r72934 708 708 void UIMediumSelector::performMediumSearch() 709 709 { 710 if (!m_pSearchWidget )710 if (!m_pSearchWidget || !m_pTreeWidget) 711 711 return; 712 712 /* Unmark all tree items to remove the highltights: */ … … 714 714 { 715 715 for (int j = 0; j < m_pTreeWidget->columnCount(); ++j) 716 m_mediumItemList[i]->setData(j, Qt::ForegroundRole, m_defaultItemForeground); 716 { 717 if (m_mediumItemList[i]) 718 m_mediumItemList[i]->setData(j, Qt::ForegroundRole, m_defaultItemForeground); 719 } 717 720 } 718 721
Note:
See TracChangeset
for help on using the changeset viewer.