diff options
Diffstat (limited to 'src/widgets/kernel/qwidget.cpp')
-rw-r--r-- | src/widgets/kernel/qwidget.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp index 74612559f0..1b5b9ccf34 100644 --- a/src/widgets/kernel/qwidget.cpp +++ b/src/widgets/kernel/qwidget.cpp @@ -9074,16 +9074,6 @@ void QWidget::ensurePolished() const QChildEvent e(QEvent::ChildPolished, const_cast<QWidget *>(this)); QCoreApplication::sendEvent(d->parent, &e); } - if (d->extra && d->extra->topextra && d->extra->topextra->window - && d->extra->topextra->window->objectName().isEmpty()) { - QString on = objectName(); - if (on.isEmpty()) { - on = QString::fromUtf8(metaObject()->className()); - on += QStringLiteral("Class"); - } - on += QStringLiteral("Window"); - d->extra->topextra->window->setObjectName(on); - } } /*! |