Don't send notifications twice at daemon at startup
This commit is contained in:
parent
c9af158062
commit
6a5945c6d9
1 changed files with 0 additions and 4 deletions
|
@ -92,10 +92,6 @@ Battery::Battery(Settings *newSettings, QTimer *newUpdater, QTimer *newNotifier,
|
||||||
|
|
||||||
updateTimer->setInterval(5000);
|
updateTimer->setInterval(5000);
|
||||||
updateTimer->start();
|
updateTimer->start();
|
||||||
|
|
||||||
if(settings->getNotificationsEnabled()) {
|
|
||||||
showNotification();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Battery::~Battery() { }
|
Battery::~Battery() { }
|
||||||
|
|
Loading…
Reference in a new issue