forked from qt-creator/qt-creator
fix warning
Change-Id: I6a27ea45c064f3f09b669a74bd36155067c7b005 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -216,7 +216,7 @@ void ModelPrivate::changeNodeType(const InternalNodePointer &node, const TypeNam
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
notifyNodeTypeChanged(node, typeName, majorVersion, minorVersion);
|
notifyNodeTypeChanged(node, typeName, majorVersion, minorVersion);
|
||||||
} catch (const RewritingException &e) {
|
} catch (const RewritingException &) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -348,7 +348,7 @@ void ModelPrivate::changeNodeId(const InternalNodePointer &node, const QString &
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
notifyNodeIdChanged(node, id, oldId);
|
notifyNodeIdChanged(node, id, oldId);
|
||||||
} catch (const RewritingException &e) {
|
} catch (const RewritingException &) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user