Changeset 60953 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- May 12, 2016 2:29:15 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIFilePathSelector.cpp
r60928 r60953 28 28 # include <QHBoxLayout> 29 29 # include <QLineEdit> 30 # ifdef VBOX_WS_WIN 31 # include <QListView> 32 # endif /* VBOX_WS_WIN */ 30 33 31 34 /* GUI includes: */ … … 69 72 , m_pCopyAction(new QAction(this)) 70 73 { 74 #ifdef VBOX_WS_WIN 75 // WORKAROUND: 76 // On at least Windows host there is a bug with 77 // the QListView which doesn't take into account 78 // the item size change caused by assigning item's 79 // icon of another size or unassigning icon at all. 80 if (view()->inherits("QListView")) 81 qobject_cast<QListView*>(view())->setUniformItemSizes(true); 82 #endif /* VBOX_WS_WIN */ 83 71 84 /* Populate items: */ 72 85 insertItem(PathId, "");
Note:
See TracChangeset
for help on using the changeset viewer.