From f33f424ccf7ca57aae95566663c8f31956fbdf8f Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Wed, 3 Jul 2019 10:45:32 +0200 Subject: Allow to switch between numeric and mnemonics registers names. Signed-off-by: Pavel Pisa --- qtmips_gui/programmodel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qtmips_gui/programmodel.h') diff --git a/qtmips_gui/programmodel.h b/qtmips_gui/programmodel.h index 95d0e3f..5e4d43d 100644 --- a/qtmips_gui/programmodel.h +++ b/qtmips_gui/programmodel.h @@ -54,7 +54,6 @@ public: Qt::ItemFlags flags(const QModelIndex &index) const override; bool setData(const QModelIndex & index, const QVariant & value, int role) override; bool adjustRowAndOffset(int &row, std::uint32_t address); - void update_all(); inline const QFont *getFont() const { return &data_font; @@ -100,6 +99,7 @@ public slots: void check_for_updates(); void toggle_hw_break(const QModelIndex & index); void update_stage_addr(uint stage, std::uint32_t addr); + void update_all(); private: const machine::MemoryAccess *mem_access() const; -- cgit v1.2.3