Tidying
This commit is contained in:
@@ -147,8 +147,8 @@ void GdbRspDebugServer::handleGdbPacket(CommandPackets::WriteRegister& packet) {
|
||||
try {
|
||||
auto registerDescriptor = this->getRegisterDescriptorFromNumber(packet.registerNumber);
|
||||
this->targetControllerConsole.writeRegisters({
|
||||
TargetRegister(registerDescriptor, packet.registerValue)
|
||||
});
|
||||
TargetRegister(registerDescriptor, packet.registerValue)
|
||||
});
|
||||
this->clientConnection->writePacket(ResponsePacket({'O', 'K'}));
|
||||
|
||||
} catch (const Exception& exception) {
|
||||
|
||||
@@ -1,18 +1,7 @@
|
||||
#include "ByteAddressContainer.hpp"
|
||||
|
||||
#include <QVBoxLayout>
|
||||
#include <QTableWidget>
|
||||
#include <QScrollBar>
|
||||
#include <QPainter>
|
||||
#include <cmath>
|
||||
|
||||
#include "src/Logger/Logger.hpp"
|
||||
|
||||
using namespace Bloom::Widgets;
|
||||
|
||||
ByteAddressContainer::ByteAddressContainer() {
|
||||
}
|
||||
|
||||
void ByteAddressContainer::adjustAddressLabels(
|
||||
const std::map<std::size_t, std::vector<ByteItem*>>& byteItemsByRowIndex
|
||||
) {
|
||||
@@ -56,8 +45,6 @@ void ByteAddressContainer::adjustAddressLabels(
|
||||
}
|
||||
}
|
||||
|
||||
Logger::error("Done with rows: " + std::to_string(this->addressItemsByRowIndex.size()));
|
||||
|
||||
this->update();
|
||||
}
|
||||
|
||||
|
||||
@@ -2,12 +2,10 @@
|
||||
|
||||
#include <QGraphicsItem>
|
||||
#include <cstdint>
|
||||
#include <QEvent>
|
||||
#include <QPainter>
|
||||
#include <QGraphicsScene>
|
||||
#include <QFont>
|
||||
#include <QColor>
|
||||
#include <optional>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
#include "ByteItem.hpp"
|
||||
#include "ByteAddressItem.hpp"
|
||||
@@ -19,7 +17,7 @@ namespace Bloom::Widgets
|
||||
public:
|
||||
static constexpr int WIDTH = 85;
|
||||
|
||||
ByteAddressContainer();
|
||||
ByteAddressContainer() = default;
|
||||
|
||||
[[nodiscard]] QRectF boundingRect() const override {
|
||||
return QRectF(
|
||||
|
||||
Reference in New Issue
Block a user