Changeset 77687 in vbox
- Timestamp:
- Mar 13, 2019 6:12:58 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserItemMachine.cpp
r77638 r77687 1029 1029 const int iButtonMargin = data(MachineItemData_ButtonMargin).toInt(); 1030 1030 1031 /* Selected item foreground: */ 1032 if (model()->currentItems().contains(unconst(this))) 1033 { 1034 QPalette pal = palette(); 1035 pPainter->setPen(pal.color(QPalette::HighlightedText)); 1036 } 1037 /* Hovered item foreground: */ 1038 else if (isHovered()) 1031 /* Selected or hovered item foreground: */ 1032 if (model()->currentItems().contains(unconst(this)) || isHovered()) 1039 1033 { 1040 1034 /* Prepare color: */
Note:
See TracChangeset
for help on using the changeset viewer.