aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2018-09-01 10:51:34 -0400
committerKen Moore <moorekou@gmail.com>2018-09-01 10:52:04 -0400
commita594e4bad91a81a47d8baa21183a79dd6695e88d (patch)
tree0a338cddb161c44e5bf01027020a575f8a23255e
parentFix a typo in the names of the new desktop-icons styles. (diff)
downloadlumina-a594e4bad91a81a47d8baa21183a79dd6695e88d.tar.gz
lumina-a594e4bad91a81a47d8baa21183a79dd6695e88d.tar.bz2
lumina-a594e4bad91a81a47d8baa21183a79dd6695e88d.zip
Allow the disk image burner to run on .iso files
-rw-r--r--src-qt5/desktop-utils/lumina-archiver/MainUI.cpp2
-rw-r--r--src-qt5/desktop-utils/lumina-archiver/imgDialog.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/src-qt5/desktop-utils/lumina-archiver/MainUI.cpp b/src-qt5/desktop-utils/lumina-archiver/MainUI.cpp
index 3d901e8c..eeb0f507 100644
--- a/src-qt5/desktop-utils/lumina-archiver/MainUI.cpp
+++ b/src-qt5/desktop-utils/lumina-archiver/MainUI.cpp
@@ -110,7 +110,7 @@ void MainUI::LoadArguments(QStringList args){
connect(BACKEND, SIGNAL(ExtractSuccessful()), delayClose, SLOT(start()) );
}
BACKEND->loadFile(files[0]);
- ui->actionUSB_Image->setEnabled(files[0].simplified().endsWith(".img"));
+ ui->actionUSB_Image->setEnabled(files[0].simplified().endsWith(".img") || files[0].simplified().endsWith(".iso"));
if(action==0){ BurnImgToUSB(); } //Go ahead and launch the burn dialog right away
}
diff --git a/src-qt5/desktop-utils/lumina-archiver/imgDialog.cpp b/src-qt5/desktop-utils/lumina-archiver/imgDialog.cpp
index 413c5fad..c353b751 100644
--- a/src-qt5/desktop-utils/lumina-archiver/imgDialog.cpp
+++ b/src-qt5/desktop-utils/lumina-archiver/imgDialog.cpp
@@ -18,7 +18,7 @@
imgDialog::imgDialog(QWidget *parent) : QDialog(parent), ui(new Ui::imgDialog()){
ui->setupUi(this); //load the designer form
- QString title = tr("Burn IMG to Device");
+ QString title = tr("Burn Disk Image to Device");
if( getuid()==0){ title.append(" ("+tr("Admin Mode")+")"); }
this->setWindowTitle(title);
ui->frame_running->setVisible(false);
@@ -107,7 +107,7 @@ void imgDialog::cancel(){
this->close();
}else{
//Prompt if the transfer should be cancelled
- if(QMessageBox::Yes == QMessageBox::question(this, tr("Cancel Image Burn?"), tr("Do you wish to stop the current IMG burn process?")+"\n\n"+tr("Warning: This will leave the USB device in an inconsistent state")) ){
+ if(QMessageBox::Yes == QMessageBox::question(this, tr("Cancel Image Burn?"), tr("Do you wish to stop the current disk image burn process?")+"\n\n"+tr("Warning: This will leave the USB device in an inconsistent state")) ){
ddProc->kill();
}
}
@@ -175,7 +175,7 @@ void imgDialog::procFinished(){
QMessageBox::warning(this, tr("ERROR"), tr("The process could not be completed:")+"\n\n"+lastmsg);
}
}else{
- QMessageBox::information(this, tr("SUCCESS"), tr("The image was successfully burned to the USB device") );
+ QMessageBox::information(this, tr("SUCCESS"), tr("The image was successfully burned to the device") );
this->close();
}
}
bgstack15