diff options
-rw-r--r-- | src/gui/kernel/qwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qwidget.cpp b/src/gui/kernel/qwidget.cpp index c86012d..860b98b 100644 --- a/src/gui/kernel/qwidget.cpp +++ b/src/gui/kernel/qwidget.cpp @@ -5688,7 +5688,7 @@ void QWidget::setWindowIconText(const QString &iconText) void QWidget::setWindowTitle(const QString &title) { - if (QWidget::windowTitle() == title) + if (QWidget::windowTitle() == title && !title.isEmpty() && !title.isNull()) return; Q_D(QWidget); |