summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/WebKit/qt/WidgetSupport/QWidgetPluginImpl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/WebKit/qt/WidgetSupport/QWidgetPluginImpl.cpp b/Source/WebKit/qt/WidgetSupport/QWidgetPluginImpl.cpp
index 2beabf1d0..b34e1fd21 100644
--- a/Source/WebKit/qt/WidgetSupport/QWidgetPluginImpl.cpp
+++ b/Source/WebKit/qt/WidgetSupport/QWidgetPluginImpl.cpp
@@ -54,7 +54,9 @@ void QWidgetPluginImpl::setVisible(bool visible)
void QWidgetPluginImpl::setStyleSheet(const QString &stylesheet)
{
+#ifndef QT_NO_STYLE_STYLESHEET
m_widget->setStyleSheet(stylesheet);
+#endif
}
void QWidgetPluginImpl::setWidgetParent(QObject *parent)