VirtualBox

Changeset 6936 in vbox


Ignore:
Timestamp:
Feb 13, 2008 7:39:21 PM (17 years ago)
Author:
vboxsync
Message:

Little fix for Shared Folders list. Repainting listView separate item after listView repainting during focus loosing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/ui/VBoxSharedFoldersSettings.ui.h

    r6867 r6936  
    110110            /* Main column's painter width should take all other's. */
    111111            aWidth = listView()->viewport()->width();
    112             QListViewItem::paintCell (aPainter, aColorGroup, aColumn,
    113                                       aWidth, aAlign);
     112            QListViewItem::paintCell (aPainter, aColorGroup, aColumn, aWidth, aAlign);
     113
     114            if (aPainter->window().width()  != listView()->viewport()->width() ||
     115                aPainter->window().height() != listView()->viewport()->height())
     116                repaint();
    114117        }
    115118        else
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette