summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/widgets/styles/qstylesheetstyle.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/widgets/styles/qstylesheetstyle.cpp b/src/widgets/styles/qstylesheetstyle.cpp
index 54facf60bdd..09f94fa6e2c 100644
--- a/src/widgets/styles/qstylesheetstyle.cpp
+++ b/src/widgets/styles/qstylesheetstyle.cpp
@@ -2499,9 +2499,6 @@ static QWidget *containerWidget(const QWidget *w)
*/
static bool unstylable(const QWidget *w)
{
- if (w->windowType() == Qt::Desktop)
- return true;
-
if (!w->styleSheet().isEmpty())
return false;