mirror of
https://github.com/digarok/buckshot.git
synced 2024-09-27 14:57:50 +00:00
32mb image support
This commit is contained in:
parent
23703b808d
commit
2934b0ee5c
@ -520,6 +520,7 @@ void MainWindow::on_pushButton_saveToProdos_clicked()
|
||||
msgBox.addButton(tr("Cancel"), QMessageBox::NoRole);
|
||||
QAbstractButton* pButton140 = msgBox.addButton(tr("140KB"), QMessageBox::ApplyRole);
|
||||
QAbstractButton* pButton800 = msgBox.addButton(tr("800KB"), QMessageBox::ApplyRole);
|
||||
QAbstractButton* pButton32768 = msgBox.addButton(tr("32MB"), QMessageBox::ApplyRole);
|
||||
msgBox.setDefaultButton(QMessageBox::Yes);
|
||||
|
||||
msgBox.exec();
|
||||
@ -528,6 +529,8 @@ void MainWindow::on_pushButton_saveToProdos_clicked()
|
||||
// set above, nothing to do
|
||||
} else if (msgBox.clickedButton()==pButton800) {
|
||||
imageSize = "800KB";
|
||||
} else if (msgBox.clickedButton()==pButton32768) {
|
||||
imageSize = "32MB";
|
||||
} else {
|
||||
return; // cancelled
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user