diff options
Diffstat (limited to 'src/widgets/styles/qproxystyle.cpp')
-rw-r--r-- | src/widgets/styles/qproxystyle.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/widgets/styles/qproxystyle.cpp b/src/widgets/styles/qproxystyle.cpp index 31fe587ce2..f138bdda11 100644 --- a/src/widgets/styles/qproxystyle.cpp +++ b/src/widgets/styles/qproxystyle.cpp @@ -383,6 +383,10 @@ void QProxyStyle::unpolish(QApplication *app) bool QProxyStyle::event(QEvent *e) { Q_D (QProxyStyle); + + if (e->type() == QEvent::DeferredDelete) + return QCommonStyle::event(e); + d->ensureBaseStyle(); return d->baseStyle->event(e); } |