path: root/src/gui/opengl
diff options
authorVolker Hilsheimer <>2019-12-03 11:25:27 +0100
committerVolker Hilsheimer <>2019-12-03 17:06:12 +0100
commit2ed59f0d42d2817a5855be167f5e3ccf23563e39 (patch)
tree10dea91e78efec7ebbb69f9a7df8d77c93b3fe42 /src/gui/opengl
parentb6632443d4d5b657f25a123eb52cec9e8d2eefea (diff)
QMdiArea: on macOS using tabs, render document icons next to the text
This is closer to what titles of documents look like in macOS apps, even though MDI is not a well-defined concept on this platform. To implement this, the QCommonStylePrivate::tabLayout method had to be made virtual, as it is called by the QCommonStyle class. It was already reimplemented in QMacStylePrivate, but didn't get called in all cases. Now that it is called as an override, adjust the icon placement to include the padding so that we get identical results to 5.13 for normal tab widgets. Change-Id: I7a63f6d76891146ca713259096a7737a86584d81 Fixes: QTBUG-63445 Reviewed-by: Tor Arne Vestbø <>
Diffstat (limited to 'src/gui/opengl')
0 files changed, 0 insertions, 0 deletions