mirror of
https://github.com/Quill-OS/quill.git
synced 2024-12-26 23:57:22 -08:00
Close generalDialog when in USBMS
This commit is contained in:
parent
482d90f910
commit
b7e772cbe1
3 changed files with 8 additions and 0 deletions
|
@ -134,6 +134,10 @@ void generalDialog::on_cancelBtn_clicked()
|
|||
string_writeconfig("/tmp/cancelUpdateDialog", "true");
|
||||
generalDialog::close();
|
||||
}
|
||||
else if(usbmsDialog == true) {
|
||||
global::usbms::usbmsDialog = false;
|
||||
generalDialog::close();
|
||||
}
|
||||
else {
|
||||
generalDialog::close();
|
||||
}
|
||||
|
|
|
@ -505,6 +505,9 @@ MainWindow::MainWindow(QWidget *parent)
|
|||
QProcess *proc = new QProcess();
|
||||
proc->start(prog, args);
|
||||
|
||||
QFile::remove("/mnt/onboard/onboard/.inkbox/DEVKEY");
|
||||
QFile::remove("/mnt/onboard/onboard/.inkbox/DEVKEY.dgst");
|
||||
|
||||
reboot(true);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -738,6 +738,7 @@ void settings::on_enableUiScalingCheckBox_toggled(bool checked)
|
|||
void settings::on_showSystemInfoBtn_clicked()
|
||||
{
|
||||
getSystemInfo();
|
||||
global::usbms::usbmsDialog = false;
|
||||
global::text::textBrowserContents = global::systemInfoText;
|
||||
global::text::textBrowserDialog = true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue