forked from qt-creator/qt-creator
QmlDesigner: Fix warning
Change-Id: Iaa207dec5ea869833750eb9fc18f70f404d08572 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
committed by
Tim Jenssen
parent
204970fc0c
commit
505cf814b9
@@ -301,7 +301,7 @@ void FormEditorView::selectedNodesChanged(const QList<ModelNode> &selectedNodeLi
|
|||||||
m_scene->update();
|
m_scene->update();
|
||||||
}
|
}
|
||||||
|
|
||||||
void FormEditorView::documentMessagesChanged(const QList<DocumentMessage> &errors, const QList<DocumentMessage> &warnings)
|
void FormEditorView::documentMessagesChanged(const QList<DocumentMessage> &errors, const QList<DocumentMessage> &)
|
||||||
{
|
{
|
||||||
if (!errors.isEmpty())
|
if (!errors.isEmpty())
|
||||||
formEditorWidget()->showErrorMessageBox(errors);
|
formEditorWidget()->showErrorMessageBox(errors);
|
||||||
|
Reference in New Issue
Block a user