aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/programtableview.h
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-06-30 20:13:51 +0200
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-06-30 20:13:51 +0200
commit2408ca900657fdb81f85092a0612aeb6217fbe0f (patch)
tree6d2ea3953704adf34d92fdfc25fc647957bd7471 /qtmips_gui/programtableview.h
parent9dc519887f61ae33ff82bb125fb69398503f91f6 (diff)
downloadqtmips-2408ca900657fdb81f85092a0612aeb6217fbe0f.tar.gz
qtmips-2408ca900657fdb81f85092a0612aeb6217fbe0f.tar.bz2
qtmips-2408ca900657fdb81f85092a0612aeb6217fbe0f.zip
Use override to make newer versions of C++ compiler happy.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui/programtableview.h')
-rw-r--r--qtmips_gui/programtableview.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtmips_gui/programtableview.h b/qtmips_gui/programtableview.h
index f9e0474..65e8ce0 100644
--- a/qtmips_gui/programtableview.h
+++ b/qtmips_gui/programtableview.h
@@ -59,7 +59,7 @@ public slots:
void focus_address(std::uint32_t address);
void focus_address_with_save(std::uint32_t address);
protected:
- void keyPressEvent(QKeyEvent *event);
+ void keyPressEvent(QKeyEvent *event) override;
private slots:
void adjust_scroll_pos_check();
void adjust_scroll_pos_process();