[escher] Redraw the window when a timer fires

Change-Id: Ib62ad7ec9641e6da61f8c3cbf00fbd470d46326c
This commit is contained in:
Émilie Feral
2017-05-15 15:01:06 +02:00
parent 64b31a2974
commit a30bdf0d8d
11 changed files with 22 additions and 23 deletions

View File

@@ -12,7 +12,7 @@ USBTimer::USBTimer(AppsContainer * container) :
void USBTimer::fire() {
if (Ion::USB::isPlugged()) {
if (!m_previousPluggedState && GlobalPreferences::sharedGlobalPreferences()->examMode() == GlobalPreferences::ExamMode::Activate) {
m_container->displayExamModePopUp(false, true);
m_container->displayExamModePopUp(false);
}
#if LED_WHILE_CHARGING
KDColor LEDColor = Ion::Battery::isCharging() ? KDColorYellow : KDColorGreen;