aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/designer
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2023-11-16 14:53:44 +0100
committerEike Ziller <eike.ziller@qt.io>2023-11-20 07:12:00 +0000
commitb60fd77fc128133f408d67beda814c55e8364d3e (patch)
tree47ad58e149db8e71a097f02aac53be03fc0e72da /src/plugins/designer
parent4362318c140c552eb5346b6aca90e651e93869a1 (diff)
Fix clearing the list of wizard factories
Clearing the list of wizard factories did not result in updating the available JSON wizards. The JSON wizard paths were scanned only once at startup. Instead partially revert back to before 1cf6b031cfdf7344eb2ce6a403aa1029b7b8f75e and let the JSON "factory creator" parse the directories and return a list of wizard factories. Change-Id: Ifc253479973be801c5323588800bb264610187b6 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Diffstat (limited to 'src/plugins/designer')
-rw-r--r--src/plugins/designer/formeditorplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/designer/formeditorplugin.cpp b/src/plugins/designer/formeditorplugin.cpp
index 0f9c77b0b44..afbca7010bd 100644
--- a/src/plugins/designer/formeditorplugin.cpp
+++ b/src/plugins/designer/formeditorplugin.cpp
@@ -100,7 +100,7 @@ bool FormEditorPlugin::initialize([[maybe_unused]] const QStringList &arguments,
wizard->setDescription(Tr::tr("Creates a Qt Designer form along with a matching class (C++ header and source file) "
"for implementation purposes. You can add the form and class to an existing Qt Widget Project."));
- return wizard;
+ return {wizard};
});
#endif