diff --git a/installer.cpp b/installer.cpp index dd0cf98..5ae6840 100644 --- a/installer.cpp +++ b/installer.cpp @@ -395,10 +395,11 @@ void Installer::downloadImage() newFileName = savedir +QDir::separator ()+ newFileName + ".img.gz"; - if (newFileName.isEmpty()) { + if (savedir.isEmpty() || newFileName.isEmpty()) { reset(); return; } + qDebug() << "Downloading to" << newFileName; if (imageFile.isOpen()) imageFile.close();