Details
-
Bug
-
Resolution: Duplicate
-
P3: Somewhat important
-
4.8.5, 5.1.0
-
OS X 10.6
Description
Qt 4.8.5 introduced an issue with QTabWidget foreground color being white.
While this is ok for OS X 10.7 and greater for 10.6 it isn't.
This change broke it for 10.6:
http://qt.gitorious.org/qt/qt/commit/a1eaf0169f041f599895fac90570df601559a526
Simple patch would be:
tabwidget.patch
rc/gui/styles/qmacstyle_mac.mm: ~line 3662: if (selected && !myTab.documentMode + && qMacVersion() >= QSysInfo::MV_10_7 ) myTab.palette.setColor(QPalette::WindowText, QColor(Qt::white)); ~line 3685: if ( + qMacVersion() >= QSysInfo::MV_10_7 && ( myTab.documentMode || selected + ) ) { p->save(); rotateTabPainter(p, myTab.shape, myTab.rect); QColor shadowColor = QColor(myTab.documentMode ? Qt::white : Qt::black);