From 2934b0ee5c5bb4c9611e25cfade2155516dbeb0d Mon Sep 17 00:00:00 2001 From: Dagen Brock Date: Mon, 8 Jun 2020 10:45:38 -0500 Subject: [PATCH] 32mb image support --- buckshot/mainwindow.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/buckshot/mainwindow.cpp b/buckshot/mainwindow.cpp index 16f62ed..9209c0b 100644 --- a/buckshot/mainwindow.cpp +++ b/buckshot/mainwindow.cpp @@ -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 }