Changeset 94985 in vbox
- Timestamp:
- May 11, 2022 6:34:06 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 151410
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/extensions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIToolBar.cpp
r93115 r94985 108 108 if (m_fEmulateUnifiedToolbar) 109 109 { 110 /* Acquire rectangle: */ 111 const QRect rectangle = pEvent->rect(); 110 /* Limit painting with incoming rectangle: */ 111 QPainter painter(this); 112 painter.setClipRect(pEvent->rect()); 113 114 /* Acquire full rectangle: */ 115 const QRect rectangle = rect(); 112 116 113 117 /* Prepare gradient: */ … … 118 122 119 123 /* Fill background: */ 120 QPainter painter(this);121 124 painter.fillRect(rectangle, gradient); 122 125 } -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIToolBar.h
r93990 r94985 85 85 86 86 #ifdef VBOX_WS_MAC 87 /** Holds whether unified tool-bar should be emulated. */87 /** Mac OS X: Holds whether unified tool-bar should be emulated. */ 88 88 bool m_fEmulateUnifiedToolbar; 89 89 #endif
Note:
See TracChangeset
for help on using the changeset viewer.