- Timestamp:
- Jun 27, 2018 6:33:40 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIIconPool.cpp
r71452 r72711 29 29 # include "UIIconPool.h" 30 30 # include "UIExtraDataManager.h" 31 # include "UIModalWindowManager.h" 31 32 32 33 /* COM includes: */ … … 524 525 *pLogicalSize = iconSize; 525 526 526 /* Get pixmap of requested size: */ 527 pixmap = icon.pixmap(iconSize); 527 /* Get pixmap of requested size (take into account the DPI of the main shown window, if possible): */ 528 if (windowManager().mainWindowShown() && windowManager().mainWindowShown()->windowHandle()) 529 pixmap = icon.pixmap(windowManager().mainWindowShown()->windowHandle(), iconSize); 530 else 531 pixmap = icon.pixmap(iconSize); 528 532 } 529 533
Note:
See TracChangeset
for help on using the changeset viewer.