mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-17 23:45:21 +01:00
cli: Connect disable-eject flag to ImageWriter
This commit is contained in:
parent
215099e106
commit
16c298beb4
1 changed files with 1 additions and 0 deletions
|
@ -213,6 +213,7 @@ int Cli::main()
|
|||
|
||||
_imageWriter->setDst(args[1]);
|
||||
_imageWriter->setVerifyEnabled(!parser.isSet("disable-verify"));
|
||||
_imageWriter->setSetting("eject", !parser.isSet("disable-eject"));
|
||||
|
||||
/* Run startWrite() in event loop (otherwise calling _app->exit() on error does not work) */
|
||||
QTimer::singleShot(1, _imageWriter, &ImageWriter::startWrite);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue