From b817fb34ae72d7b7f543e1e25a40f000dcaa7eaf Mon Sep 17 00:00:00 2001 From: itsmattkc <34096995+itsmattkc@users.noreply.github.com> Date: Mon, 11 Jul 2022 14:20:15 -0700 Subject: [PATCH] app: use new MxCh constants --- app/siview/panels/mxch.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/siview/panels/mxch.cpp b/app/siview/panels/mxch.cpp index 7e9c6f1..c59730a 100644 --- a/app/siview/panels/mxch.cpp +++ b/app/siview/panels/mxch.cpp @@ -28,7 +28,7 @@ MxChPanel::MxChPanel(QWidget *parent) : flag_row++; auto split_chunk = new QCheckBox(tr("Split Chunk")); - split_chunk->setProperty("flag", 0x10); + split_chunk->setProperty("flag", MxCh::FLAG_SPLIT); connect(split_chunk, &QCheckBox::clicked, this, &MxChPanel::FlagCheckBoxClicked); flag_checkboxes_.append(split_chunk); flag_layout->addWidget(split_chunk, flag_row, 0, 1, 2); @@ -36,7 +36,7 @@ MxChPanel::MxChPanel(QWidget *parent) : flag_row++; auto end_chunk = new QCheckBox(tr("End Chunk")); - end_chunk->setProperty("flag", 0x2); + end_chunk->setProperty("flag", MxCh::FLAG_END); connect(end_chunk, &QCheckBox::clicked, this, &MxChPanel::FlagCheckBoxClicked); flag_checkboxes_.append(end_chunk); flag_layout->addWidget(end_chunk, flag_row, 0, 1, 2);