]> sigrok.org Git - pulseview.git/blobdiff - pv/views/decoder_binary/QHexView.hpp
QHexView: Only use as many digits for the address as needed
[pulseview.git] / pv / views / decoder_binary / QHexView.hpp
index c39dcb2099064064570fd45b52da834303f76ea4..12729f80b28ddf86aa14fd48933d0da7c8da0549 100644 (file)
@@ -91,6 +91,7 @@ private:
        size_t posAddr_, posHex_, posAscii_;
        size_t charWidth_, charHeight_;
        size_t selectBegin_, selectEnd_, selectInit_, cursorPos_;
+       uint8_t address_digits_;
 
        size_t current_chunk_id_, current_chunk_offset_, current_offset_;
        DecodeBinaryDataChunk current_chunk_; // Cache locally so that we're not messed up when the vector is re-allocating its data