This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
AcetoneISO2/AcetoneISO2-2.0.3-no-poweriso-for-non-x86.patch
Tom Callaway f2f44d30fc 2.0.3 final
2009-04-09 14:02:26 +00:00

22 lines
997 B
Diff

diff -up acetoneiso_2.0.3/src/sources/converter.h.BAD acetoneiso_2.0.3/src/sources/converter.h
--- acetoneiso_2.0.3/src/sources/converter.h.BAD 2009-04-09 09:50:31.000000000 -0400
+++ acetoneiso_2.0.3/src/sources/converter.h 2009-04-09 09:51:03.000000000 -0400
@@ -125,6 +125,7 @@ else {
void acetoneiso::get_poweriso()
{
QMessageBox msgBox;
+#if defined(__i386__) || defined(__x86_64__)
msgBox.setText(tr("Do you want to download Poweriso?\nIf you click yes you accept PowerISO's Freeware(proprietary but gratis) License.\nRemember: if you are running a 64-bit OS, you need ia32-libs package installed and maybe others."));
msgBox.setStandardButtons(QMessageBox::Yes | QMessageBox::No);
switch (msgBox.exec()) {
@@ -145,6 +146,10 @@ msgBox.setText(tr("Do you want to downlo
// should never be reached
break;
}
+#else
+// Not a poweriso capable architecture
+QMessageBox::information(this, "AcetoneISO",tr("Poweriso is not available for this architecture."));
+#endif
}