Little fix

This commit is contained in:
Nicolas Mailloux 2022-02-12 23:56:44 -05:00
parent 76327f4958
commit bee115c7d8

View file

@ -77,6 +77,7 @@ alert::alert(QWidget *parent) :
ui->warningLabel->setText("Please charge your eReader."); ui->warningLabel->setText("Please charge your eReader.");
ui->securityLabel->setText("The battery's charge level is critical."); ui->securityLabel->setText("The battery's charge level is critical.");
ui->messageLabel->setText("To prevent damage, your device has been turned off.\nPlease consider charging it."); ui->messageLabel->setText("To prevent damage, your device has been turned off.\nPlease consider charging it.");
poweroff(false);
} }
ui->warningLabel->setStyleSheet("QLabel { background-color : black; color : white; font-size: 16pt}"); ui->warningLabel->setStyleSheet("QLabel { background-color : black; color : white; font-size: 16pt}");