Changeset 9796 in vbox
- Timestamp:
- Jun 18, 2008 3:45:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxVMListView.cpp
r9773 r9796 796 796 QPalette pal = option.palette; 797 797 QPen pen = pal.color (QPalette::Active, QPalette::Text); 798 if (option.state & QStyle::State_Selected) 798 if (option.state & QStyle::State_Selected && 799 (option.state & QStyle::State_HasFocus || 800 QApplication::style()->styleHint (QStyle::SH_ItemView_ChangeHighlightOnFocus, &option) == 0)) 799 801 pen = pal.color (QPalette::Active, QPalette::HighlightedText); 800 802 /* Start drawing */
Note:
See TracChangeset
for help on using the changeset viewer.