summaryrefslogtreecommitdiffstats
path: root/src/widgets/styles/qstylesheetstyle_default.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/styles/qstylesheetstyle_default.cpp')
-rw-r--r--src/widgets/styles/qstylesheetstyle_default.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widgets/styles/qstylesheetstyle_default.cpp b/src/widgets/styles/qstylesheetstyle_default.cpp
index 843e4adfd3..58dbb1b0b9 100644
--- a/src/widgets/styles/qstylesheetstyle_default.cpp
+++ b/src/widgets/styles/qstylesheetstyle_default.cpp
@@ -335,11 +335,12 @@ StyleSheet QStyleSheetStyle::getDefaultStyleSheet() const
}
/*QComboBox[style="QPlastiqueStyle"][readOnly="true"],
+ QComboBox[style="QFusionStyle"][readOnly="true"],
QComboBox[style="QCleanlooksStyle"][readOnly="true"]
{
-qt-background-role: button;
}*/
- if (baseStyle()->inherits("QPlastiqueStyle") || baseStyle()->inherits("QCleanlooksStyle"))
+ if (baseStyle()->inherits("QPlastiqueStyle") || baseStyle()->inherits("QCleanlooksStyle") || baseStyle()->inherits("QFusionStyle"))
{
SET_ELEMENT_NAME(QLatin1String("QComboBox"));
ADD_ATTRIBUTE_SELECTOR(QLatin1String("readOnly"), QLatin1String("true"), AttributeSelector::MatchEqual);