@ -41,13 +41,13 @@ void Setup::download(QString url) {
curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &res_status);
if (ret != CURLE_OK || res_status != 200) {
emit finished(false);
return;
} else {
rename(tmpfile, "/tmp/installer");
emit finished(true);
}
curl_easy_cleanup(curl);
fclose(fp);
QWidget * Setup::low_voltage() {