From 395a8018148e4d5bc3afb11fe0c44f0e2acf8efc Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Thu, 27 Feb 2025 12:09:48 +0100 Subject: [PATCH] QmlDesigner: Remove call to clearComponentCache() This is called also the first time and can have unwanted side effects. Change-Id: I373dd748499c9f924a3263796e4cd584959f55ac Reviewed-by: Tim Jenssen --- src/plugins/insight/insightwidget.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/plugins/insight/insightwidget.cpp b/src/plugins/insight/insightwidget.cpp index 37db4340ff8..21e75f04549 100644 --- a/src/plugins/insight/insightwidget.cpp +++ b/src/plugins/insight/insightwidget.cpp @@ -103,7 +103,6 @@ void InsightWidget::reloadQmlSource() { QString statesListQmlFilePath = qmlSourcesPath() + QStringLiteral("/Main.qml"); QTC_ASSERT(QFileInfo::exists(statesListQmlFilePath), return ); - engine()->clearComponentCache(); setSource(QUrl::fromLocalFile(statesListQmlFilePath)); if (!rootObject()) {