diff options
author | Alessandro Portale <aportale@trolltech.com> | 2009-06-15 16:14:08 (GMT) |
---|---|---|
committer | Alessandro Portale <aportale@trolltech.com> | 2009-06-15 16:14:08 (GMT) |
commit | d476a0054aff074f83600fcc12d7e9356b920da3 (patch) | |
tree | 21de7cd1d03b386f92e23d5f79425413f21c7068 /src | |
parent | 40c70459b40e4e54c2cf515f502824c8d191626b (diff) | |
download | Qt-d476a0054aff074f83600fcc12d7e9356b920da3.zip Qt-d476a0054aff074f83600fcc12d7e9356b920da3.tar.gz Qt-d476a0054aff074f83600fcc12d7e9356b920da3.tar.bz2 |
Remove warnings
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/styles/qs60style.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/styles/qs60style.cpp b/src/gui/styles/qs60style.cpp index c6118d6..d9ef8ef 100644 --- a/src/gui/styles/qs60style.cpp +++ b/src/gui/styles/qs60style.cpp @@ -559,7 +559,7 @@ void QS60StylePrivate::drawRow(QS60StyleEnums::SkinParts start, QRect endRect; if (orientation == Qt::Horizontal) { - startRect.setWidth(qMin(rect.width() >>1 - 1, startRect.width())); + startRect.setWidth(qMin((rect.width() >> 1) - 1, startRect.width())); endRect = startRect.translated(rect.width() - startRect.width(), 0); middleRect.adjust(startRect.width(), 0, -startRect.width(), 0); if (startRect.bottomRight().x() > endRect.topLeft().x()) { @@ -568,7 +568,7 @@ void QS60StylePrivate::drawRow(QS60StyleEnums::SkinParts start, endRect.adjust(overlap,0,0,0); } } else { - startRect.setHeight(qMin(rect.height() >>1 - 1, startRect.height())); + startRect.setHeight(qMin((rect.height() >> 1) - 1, startRect.height())); endRect = startRect.translated(0, rect.height() - startRect.height()); middleRect.adjust(0, startRect.height(), 0, -startRect.height()); if (startRect.topRight().y() > endRect.bottomLeft().y()) { |