summaryrefslogtreecommitdiffstats
path: root/src/gui/styles
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2009-03-30 14:59:03 (GMT)
committerSimon Hausmann <simon.hausmann@nokia.com>2009-03-30 14:59:03 (GMT)
commitf9c434cd70663db2d1b1c32c8b68ae3ff85d6803 (patch)
tree32ba957e42491ae7634c6a8999485a43e5f68f42 /src/gui/styles
parente20d18f1982dde2b0fa9bd262e5aadd1e451a7fa (diff)
parent097b3b3323ab6641c17318057e100543b60bca77 (diff)
downloadQt-f9c434cd70663db2d1b1c32c8b68ae3ff85d6803.zip
Qt-f9c434cd70663db2d1b1c32c8b68ae3ff85d6803.tar.gz
Qt-f9c434cd70663db2d1b1c32c8b68ae3ff85d6803.tar.bz2
Merge branch '4.5' of git@scm.dev.nokia.troll.no:qt/qt
Diffstat (limited to 'src/gui/styles')
-rw-r--r--src/gui/styles/qmacstyle_mac.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/styles/qmacstyle_mac.mm b/src/gui/styles/qmacstyle_mac.mm
index 9acf42c..fad9995 100644
--- a/src/gui/styles/qmacstyle_mac.mm
+++ b/src/gui/styles/qmacstyle_mac.mm
@@ -2197,7 +2197,7 @@ void QMacStyle::polish(QWidget* w)
}
if (qobject_cast<QMenu*>(w) || qobject_cast<QComboBoxPrivateContainer *>(w)) {
- w->setWindowOpacity(0.94);
+ w->setWindowOpacity(QSysInfo::MacintoshVersion >= QSysInfo::MV_10_5 ? 0.985 : 0.94);
if (!w->testAttribute(Qt::WA_SetPalette)) {
QPixmap px(64, 64);
HIThemeMenuDrawInfo mtinfo;