From edcf62e67dd7b98fc270f4d9cf1836ad46d109aa Mon Sep 17 00:00:00 2001 From: Nav Date: Thu, 13 Jul 2023 02:45:42 +0100 Subject: [PATCH] Tidying --- .../HexViewerWidget/HexViewerItemIndex.hpp | 5 +++-- src/TargetController/TargetControllerComponent.cpp | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/HexViewerItemIndex.hpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/HexViewerItemIndex.hpp index b875ce73..62d41d7b 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/HexViewerItemIndex.hpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/HexViewerWidget/HexViewerItemIndex.hpp @@ -55,12 +55,13 @@ namespace Bloom::Widgets * * @param position * @return + * nullptr if there is no byte item at the given position. */ ByteItem* byteItemAt(const QPointF& position) const; /** - * Returns the closest byte item from the given position on the Y-axis. - * * + * Returns the closest byte item to the given position on the Y-axis. + * * @param yPosition * @return */ diff --git a/src/TargetController/TargetControllerComponent.cpp b/src/TargetController/TargetControllerComponent.cpp index 95c67ff8..50afcdca 100644 --- a/src/TargetController/TargetControllerComponent.cpp +++ b/src/TargetController/TargetControllerComponent.cpp @@ -293,7 +293,7 @@ namespace Bloom::TargetController this->target.reset(); this->debugTool.reset(); Logger::error( - "Failed to properly shutdown TargetController. Error: " + std::string(exception.what()) + "Failed to properly shut down TargetController. Error: " + std::string(exception.what()) ); }