From 9481c3e120f23bc425153c781c611ef75a69508c Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Thu, 12 Oct 2023 23:45:30 -0400 Subject: [PATCH] hexpart: Reformat code, misc cleanup --- parts/hex/hexpart.cpp | 2 ++ parts/hex/hexpart.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/parts/hex/hexpart.cpp b/parts/hex/hexpart.cpp index f2cf356..8fe7fec 100644 --- a/parts/hex/hexpart.cpp +++ b/parts/hex/hexpart.cpp @@ -15,3 +15,5 @@ void HexPart::loadFile(physis_Buffer buffer) setDocument(QHexDocument::fromMemory(reinterpret_cast(buffer.data), buffer.size)); setReadOnly(true); } + +#include "moc_hexpart.cpp" \ No newline at end of file diff --git a/parts/hex/hexpart.h b/parts/hex/hexpart.h index a996b4f..ef75109 100644 --- a/parts/hex/hexpart.h +++ b/parts/hex/hexpart.h @@ -10,6 +10,8 @@ class HexPart : public QHexView { + Q_OBJECT + public: explicit HexPart(QWidget *parent = nullptr);