mirror of
https://github.com/isledecomp/SIEdit.git
synced 2024-11-30 10:56:51 -05:00
app: use new MxCh constants
This commit is contained in:
parent
ea3bee369d
commit
b817fb34ae
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ MxChPanel::MxChPanel(QWidget *parent) :
|
||||||
flag_row++;
|
flag_row++;
|
||||||
|
|
||||||
auto split_chunk = new QCheckBox(tr("Split Chunk"));
|
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);
|
connect(split_chunk, &QCheckBox::clicked, this, &MxChPanel::FlagCheckBoxClicked);
|
||||||
flag_checkboxes_.append(split_chunk);
|
flag_checkboxes_.append(split_chunk);
|
||||||
flag_layout->addWidget(split_chunk, flag_row, 0, 1, 2);
|
flag_layout->addWidget(split_chunk, flag_row, 0, 1, 2);
|
||||||
|
@ -36,7 +36,7 @@ MxChPanel::MxChPanel(QWidget *parent) :
|
||||||
flag_row++;
|
flag_row++;
|
||||||
|
|
||||||
auto end_chunk = new QCheckBox(tr("End Chunk"));
|
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);
|
connect(end_chunk, &QCheckBox::clicked, this, &MxChPanel::FlagCheckBoxClicked);
|
||||||
flag_checkboxes_.append(end_chunk);
|
flag_checkboxes_.append(end_chunk);
|
||||||
flag_layout->addWidget(end_chunk, flag_row, 0, 1, 2);
|
flag_layout->addWidget(end_chunk, flag_row, 0, 1, 2);
|
||||||
|
|
Loading…
Reference in a new issue