mirror of
https://github.com/jpluimers/macrompatcher.git
synced 2024-05-28 07:41:36 +00:00
Switch from radio button to checkbox for selecting the romdisk driver mod.
This commit is contained in:
parent
e9aea7e095
commit
ac7c3bd523
|
@ -27,7 +27,7 @@ RomPatcher::RomPatcher()
|
||||||
yoffset += 25;
|
yoffset += 25;
|
||||||
checksum->setMinimumSize(mywidth, 10);
|
checksum->setMinimumSize(mywidth, 10);
|
||||||
|
|
||||||
applyRomdisk = new QRadioButton("Apply ROMdisk Driver", this);
|
applyRomdisk = new QCheckBox("Apply ROMdisk Driver", this);
|
||||||
applyRomdisk->move(xoffset, yoffset);
|
applyRomdisk->move(xoffset, yoffset);
|
||||||
yoffset += 25;
|
yoffset += 25;
|
||||||
applyRomdisk->setMinimumSize(mywidth, 10);
|
applyRomdisk->setMinimumSize(mywidth, 10);
|
||||||
|
@ -140,7 +140,7 @@ void RomPatcher::updateChecksumUI()
|
||||||
{
|
{
|
||||||
uint32_t cksum;
|
uint32_t cksum;
|
||||||
GetChecksum(rom, &cksum);
|
GetChecksum(rom, &cksum);
|
||||||
checksum->setText(QString().sprintf("%#x", cksum));
|
checksum->setText(QString().sprintf("Checksum: %#x", cksum));
|
||||||
}
|
}
|
||||||
|
|
||||||
void RomPatcher::applyMods()
|
void RomPatcher::applyMods()
|
||||||
|
|
|
@ -25,7 +25,7 @@ private:
|
||||||
QMenu *fileMenu;
|
QMenu *fileMenu;
|
||||||
|
|
||||||
QLabel *checksum;
|
QLabel *checksum;
|
||||||
QRadioButton *applyRomdisk;
|
QCheckBox *applyRomdisk;
|
||||||
QLineEdit *romdiskFile;
|
QLineEdit *romdiskFile;
|
||||||
QPushButton *romdiskSelect;
|
QPushButton *romdiskSelect;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user