diff options
Diffstat (limited to 'src/widgets/styles/qproxystyle.cpp')
-rw-r--r-- | src/widgets/styles/qproxystyle.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/widgets/styles/qproxystyle.cpp b/src/widgets/styles/qproxystyle.cpp index f138bdda11..585177c30d 100644 --- a/src/widgets/styles/qproxystyle.cpp +++ b/src/widgets/styles/qproxystyle.cpp @@ -382,13 +382,8 @@ 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); + // ### Qt 7: remove this override + return QCommonStyle::event(e); } /*! |