Don't send notifications twice at daemon at startup

This commit is contained in:
Matti Viljanen 2020-06-14 18:29:31 +03:00
parent c9af158062
commit 6a5945c6d9
No known key found for this signature in database
GPG key ID: CF32A1495158F888

View file

@ -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() { }