fix warning

This commit is contained in:
Megamouse 2020-12-18 03:37:24 +01:00
parent e855673802
commit a7f10d142e
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ memory_viewer_panel::memory_viewer_panel(QWidget* parent, u32 addr)
connect(b_prev, &QAbstractButton::clicked, [this]() { scroll(-1); }); connect(b_prev, &QAbstractButton::clicked, [this]() { scroll(-1); });
connect(b_next, &QAbstractButton::clicked, [this]() { scroll(1); }); connect(b_next, &QAbstractButton::clicked, [this]() { scroll(1); });
connect(b_fprev, &QAbstractButton::clicked, [this]() { scroll(-m_rowcount); }); connect(b_fprev, &QAbstractButton::clicked, [this]() { scroll(m_rowcount * -1); });
connect(b_fnext, &QAbstractButton::clicked, [this]() { scroll(m_rowcount); }); connect(b_fnext, &QAbstractButton::clicked, [this]() { scroll(m_rowcount); });
connect(b_img, &QAbstractButton::clicked, [=, this]() connect(b_img, &QAbstractButton::clicked, [=, this]()
{ {