QmlDesigner: Set object name to suppress warning

Without object name we get a warning when saving settings.

Change-Id: Iae6fac8fdd172ee205fd6397faa7a9ec3fa0a57f
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
This commit is contained in:
Thomas Hartmann
2023-01-26 17:10:51 +01:00
parent d593a5ea9b
commit 9dbd89af7f

View File

@@ -61,6 +61,7 @@ void ToolBar::create()
//Core::ICore::statusBar()->hide(); //Core::ICore::statusBar()->hide();
auto toolBar = new QToolBar; auto toolBar = new QToolBar;
toolBar->setObjectName("QDS-TOOLBAR");
toolBar->setContextMenuPolicy(Qt::PreventContextMenu); toolBar->setContextMenuPolicy(Qt::PreventContextMenu);