summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@nokia.com>2009-08-15 14:51:50 (GMT)
committerLiang Qi <liang.qi@nokia.com>2009-08-15 14:51:50 (GMT)
commita13187c486269417455b5b1db49ffab24e8be767 (patch)
treecbedb1ac5bc1b750c64474e3708dd5af9308c4df
parent6cebef6e1609f32c3512e442ef40c04b847f51f8 (diff)
downloadQt-a13187c486269417455b5b1db49ffab24e8be767.zip
Qt-a13187c486269417455b5b1db49ffab24e8be767.tar.gz
Qt-a13187c486269417455b5b1db49ffab24e8be767.tar.bz2
Fixed a compile error for qs60style.cpp on s60 build.
-rw-r--r--src/gui/styles/qs60style.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/styles/qs60style.cpp b/src/gui/styles/qs60style.cpp
index 1226e22..0efc5b4 100644
--- a/src/gui/styles/qs60style.cpp
+++ b/src/gui/styles/qs60style.cpp
@@ -1636,7 +1636,7 @@ void QS60Style::drawControl(ControlElement element, const QStyleOption *option,
if (optionProgressBar->minimum == optionProgressBar->maximum && optionProgressBar->minimum == 0) {
// busy indicator
- const int orientationFlag = optionProgressBar->orientation == Qt::Horizontal ?
+ const QS60StylePrivate::SkinElementFlag orientationFlag = optionProgressBar->orientation == Qt::Horizontal ?
QS60StylePrivate::SF_PointNorth : QS60StylePrivate::SF_PointWest;
QS60StylePrivate::drawSkinPart(QS60StyleEnums::SP_QgnGrafBarWait, painter, progressRect, flags | orientationFlag);
} else {