Changeset 7227 in vbox
- Timestamp:
- Feb 29, 2008 5:47:23 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxVMListBox.cpp
r7220 r7227 701 701 } 702 702 703 const Q ColorGroup &cg = lb->activeColorGroup();703 const QPalette &pal = lb->palette(); 704 704 705 705 int osTypeY = marg; … … 712 712 aP->drawPixmap (marg, osTypeY, pmOSType); 713 713 714 aP->setPen (isSelected() ? cg.highlightedText() : cg.text()); 714 aP->setPen (isSelected() ? 715 pal.color (QPalette::Active, QPalette::HighlightedText) : 716 pal.color (QPalette::Active, QPalette::Text)); 715 717 716 718 int textX = marg + pmOSType.width() + marg * 3 / 2;
Note:
See TracChangeset
for help on using the changeset viewer.