forked from qt-creator/qt-creator
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:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user