mirror of
https://github.com/digarok/buckshot.git
synced 2024-05-31 12:41:31 +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);
|
msgBox.addButton(tr("Cancel"), QMessageBox::NoRole);
|
||||||
QAbstractButton* pButton140 = msgBox.addButton(tr("140KB"), QMessageBox::ApplyRole);
|
QAbstractButton* pButton140 = msgBox.addButton(tr("140KB"), QMessageBox::ApplyRole);
|
||||||
QAbstractButton* pButton800 = msgBox.addButton(tr("800KB"), QMessageBox::ApplyRole);
|
QAbstractButton* pButton800 = msgBox.addButton(tr("800KB"), QMessageBox::ApplyRole);
|
||||||
|
QAbstractButton* pButton32768 = msgBox.addButton(tr("32MB"), QMessageBox::ApplyRole);
|
||||||
msgBox.setDefaultButton(QMessageBox::Yes);
|
msgBox.setDefaultButton(QMessageBox::Yes);
|
||||||
|
|
||||||
msgBox.exec();
|
msgBox.exec();
|
||||||
|
@ -528,6 +529,8 @@ void MainWindow::on_pushButton_saveToProdos_clicked()
|
||||||
// set above, nothing to do
|
// set above, nothing to do
|
||||||
} else if (msgBox.clickedButton()==pButton800) {
|
} else if (msgBox.clickedButton()==pButton800) {
|
||||||
imageSize = "800KB";
|
imageSize = "800KB";
|
||||||
|
} else if (msgBox.clickedButton()==pButton32768) {
|
||||||
|
imageSize = "32MB";
|
||||||
} else {
|
} else {
|
||||||
return; // cancelled
|
return; // cancelled
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user