From 449c35e6fce87a961cc1af48aaf92aca14e2dc3d Mon Sep 17 00:00:00 2001 From: Edward Brown <edward.brown@stfc.ac.uk> Date: Thu, 10 May 2018 09:16:09 +0100 Subject: [PATCH] Applied clang-format patch + grammar correction in docs. Re #22263 --- dev-docs/source/BatchWidget/API/JobTreeView.rst | 2 +- qt/widgets/common/src/Batch/JobTreeView.cpp | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/dev-docs/source/BatchWidget/API/JobTreeView.rst b/dev-docs/source/BatchWidget/API/JobTreeView.rst index a3a5f1e885e..3302c1c63d8 100644 --- a/dev-docs/source/BatchWidget/API/JobTreeView.rst +++ b/dev-docs/source/BatchWidget/API/JobTreeView.rst @@ -27,7 +27,7 @@ table is unlike a traditional spreadsheet in that it is hierarchical, the table tree of rows where all non-leaf nodes can have any number of children. In practice some interfaces, such as Reflectometry are likely to want to constrain the -number of children or depth of the tree, and the batch widget has mechanisms for performing this. +number of children or depth of the tree, the batch widget has mechanisms for performing this. Currently a row location is represented as a path from the root node to the row node in question, this is actualised in the :code:`RowLocation` class which contains an ordered list of integers where diff --git a/qt/widgets/common/src/Batch/JobTreeView.cpp b/qt/widgets/common/src/Batch/JobTreeView.cpp index 2f2ce2a0eda..70d7995f5ec 100644 --- a/qt/widgets/common/src/Batch/JobTreeView.cpp +++ b/qt/widgets/common/src/Batch/JobTreeView.cpp @@ -61,9 +61,7 @@ bool JobTreeView::edit(const QModelIndex &index, EditTrigger trigger, return QTreeView::edit(index, trigger, event); } -Cell JobTreeView::deadCell() const { - return g_deadCell; -} +Cell JobTreeView::deadCell() const { return g_deadCell; } boost::optional<std::vector<Subtree>> JobTreeView::selectedSubtrees() const { auto rows = selectedRowLocations(); -- GitLab