branch | RCL_3 |
changeset 7 | 3f74d0d4af4c |
parent 5 | d3bac044e0f0 |
--- a/src/gui/styles/qgtkstyle.cpp Mon Mar 15 12:43:09 2010 +0200 +++ b/src/gui/styles/qgtkstyle.cpp Thu Apr 08 14:19:33 2010 +0300 @@ -3398,6 +3398,9 @@ Q_D(const QGtkStyle); QRect r = QCleanlooksStyle::subElementRect(element, option, widget); + if (!d->isThemeAvailable()) + return r; + switch (element) { case SE_ProgressBarLabel: case SE_ProgressBarContents: