From c327076817dad875bd057bf28eab36b1d4e732ef Mon Sep 17 00:00:00 2001 From: Aleksandar Sasha Babic Date: Tue, 10 Nov 2009 21:02:35 +0100 Subject: Revert "Check that we're not using double where qreal should be used" This reverts commit d9a275b3cc4a248da1f392fb5649b9fe7a93b12c. --- src/gui/styles/qs60style.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/styles/qs60style.cpp b/src/gui/styles/qs60style.cpp index f15a6a5..16a81b3 100644 --- a/src/gui/styles/qs60style.cpp +++ b/src/gui/styles/qs60style.cpp @@ -1723,7 +1723,7 @@ void QS60Style::drawControl(ControlElement element, const QStyleOption *option, optionMenuItem.palette.setColor(QPalette::Disabled, QPalette::Text, QS60StylePrivate::lighterColor( optionMenuItem.palette.color(QPalette::Disabled, QPalette::Text))); painter->save(); - painter->setOpacity(qreal(0.75)); + painter->setOpacity(0.5); } QCommonStyle::drawItemText(painter, textRect, text_flags, optionMenuItem.palette, enabled, @@ -1829,7 +1829,7 @@ void QS60Style::drawControl(ControlElement element, const QStyleOption *option, painter->save(); if (widget) painter->setBrush(widget->palette().button()); - painter->setOpacity(qreal(0.3)); + painter->setOpacity(0.3); painter->fillRect(toolBar->rect, painter->brush()); painter->restore(); } -- cgit v0.12