diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2010-03-30 13:38:25 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2010-03-30 13:38:25 (GMT) |
commit | 7c613a9ef4610fa2e0e1630eb3cd2b474875631d (patch) | |
tree | 757be578070f7cb7c724476e7b6980ee5ad215a4 /src/gui/styles/qgtkstyle.cpp | |
parent | 39f88fc60ad6ce323000a10b2925ad7dbb1544c2 (diff) | |
parent | c45ce66ce417718e09de276bfdb663aa5e9fe366 (diff) | |
download | Qt-7c613a9ef4610fa2e0e1630eb3cd2b474875631d.zip Qt-7c613a9ef4610fa2e0e1630eb3cd2b474875631d.tar.gz Qt-7c613a9ef4610fa2e0e1630eb3cd2b474875631d.tar.bz2 |
Merge remote branch 'origin/4.6' into qt-4.7-from-4.6
Conflicts:
src/s60installs/bwins/QtGuiu.def
src/s60installs/eabi/QtGuiu.def
Diffstat (limited to 'src/gui/styles/qgtkstyle.cpp')
-rw-r--r-- | src/gui/styles/qgtkstyle.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/styles/qgtkstyle.cpp b/src/gui/styles/qgtkstyle.cpp index bd87ca4..9c61023 100644 --- a/src/gui/styles/qgtkstyle.cpp +++ b/src/gui/styles/qgtkstyle.cpp @@ -3423,6 +3423,9 @@ QRect QGtkStyle::subElementRect(SubElement element, const QStyleOption *option, Q_D(const QGtkStyle); QRect r = QCleanlooksStyle::subElementRect(element, option, widget); + if (!d->isThemeAvailable()) + return r; + switch (element) { case SE_ProgressBarLabel: case SE_ProgressBarContents: |