[Viewer] Viewer2D: Remove trailing whitespaces

This commit is contained in:
Candice Bentéjac 2023-02-27 19:22:34 +01:00
parent 15f963a9b5
commit f4418f44c3

View file

@ -53,7 +53,7 @@ FocusScope {
active: true active: true
source: "TestAliceVisionPlugin.qml" source: "TestAliceVisionPlugin.qml"
} }
readonly property bool aliceVisionPluginAvailable: aliceVisionPluginLoader.status === Component.Ready readonly property bool aliceVisionPluginAvailable: aliceVisionPluginLoader.status === Component.Ready
Component.onCompleted: { Component.onCompleted: {
@ -177,7 +177,7 @@ FocusScope {
function tryLoadNode(node) { function tryLoadNode(node) {
useExternal = false; useExternal = false;
// safety check // safety check
if (!node) { if (!node) {
return false; return false;
@ -218,7 +218,7 @@ FocusScope {
} }
if (_reconstruction && (!displayedNode || outputAttribute.name == "gallery")) { if (_reconstruction && (!displayedNode || outputAttribute.name == "gallery")) {
return getViewpointPath(_reconstruction.selectedViewId); return getViewpointPath(_reconstruction.selectedViewId);
} }
return getFileAttributePath(displayedNode, outputAttribute.name, _reconstruction ? _reconstruction.selectedViewId : -1); return getFileAttributePath(displayedNode, outputAttribute.name, _reconstruction ? _reconstruction.selectedViewId : -1);
} }
@ -1188,7 +1188,7 @@ FocusScope {
onClicked: { onClicked: {
root.viewIn3D( root.viewIn3D(
root.source, root.source,
displayedNode.name + ":" + outputAttribute.name + " " + String(_reconstruction.selectedViewId) displayedNode.name + ":" + outputAttribute.name + " " + String(_reconstruction.selectedViewId)
); );
} }