From 5445510e318f9258071e0ae5ad4cd4a8255cb8cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 27 Jan 2018 16:58:27 +0100 Subject: WIP: try to fix paint of MemoryView --- qtmips_gui/memoryview.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'qtmips_gui/memoryview.h') diff --git a/qtmips_gui/memoryview.h b/qtmips_gui/memoryview.h index ec909f0..176f666 100644 --- a/qtmips_gui/memoryview.h +++ b/qtmips_gui/memoryview.h @@ -47,7 +47,7 @@ private: class Frame : public QAbstractScrollArea { public: - Frame(MemoryView *parent); + Frame(MemoryView *mv, QWidget *parent); StaticTable *widg; void focus(unsigned i); // Focus on given item in widget @@ -63,6 +63,7 @@ private: void wheelEvent(QWheelEvent *event); }; Frame *memf; + QFrame *frame; QWidget *ctl_widg; QHBoxLayout *ctl_layout; -- cgit v1.2.3