diff --git a/src/plugins/coreplugin/fancytabwidget.cpp b/src/plugins/coreplugin/fancytabwidget.cpp index 1302dc71d67..f5b646ba6be 100644 --- a/src/plugins/coreplugin/fancytabwidget.cpp +++ b/src/plugins/coreplugin/fancytabwidget.cpp @@ -158,7 +158,7 @@ void FancyTabBar::paintTab(QPainter *painter, int tabIndex) const QColor hoverColor; if (hover) { - hoverColor = QColor(255, 255, 255, m_hoverControl.currentFrame()*2); + hoverColor = QColor(255, 255, 255, m_hoverControl.currentFrame()); } QColor light = QColor(255, 255, 255, 40); diff --git a/src/plugins/coreplugin/manhattanstyle.cpp b/src/plugins/coreplugin/manhattanstyle.cpp index 4227dec213b..47e13dec297 100644 --- a/src/plugins/coreplugin/manhattanstyle.cpp +++ b/src/plugins/coreplugin/manhattanstyle.cpp @@ -495,10 +495,10 @@ void ManhattanStyle::drawPrimitive(PrimitiveElement element, const QStyleOption if (pressed) { QColor shade(0, 0, 0, 50); if (option->state & State_Sunken) - shade = QColor(0, 0, 0, 70); + shade = QColor(0, 0, 0, 50); #ifndef Q_WS_MAC else if (option->state & State_MouseOver) - shade = QColor(255, 255, 255, 40); + shade = QColor(255, 255, 255, 10); #endif else if (option->state & State_On) shade = QColor(0, 0, 0, 50); @@ -514,7 +514,7 @@ void ManhattanStyle::drawPrimitive(PrimitiveElement element, const QStyleOption } #ifndef Q_WS_MAC else if (option->state & State_MouseOver) { - QColor lighter(255, 255, 255, 100); + QColor lighter(255, 255, 255, 35); painter->fillRect(rect, lighter); painter->drawLine(rect.topRight(), rect.bottomRight()); }