From 6a5945c6d905f508c588f39fdda032af6966d510 Mon Sep 17 00:00:00 2001 From: Matti Viljanen Date: Sun, 14 Jun 2020 18:29:31 +0300 Subject: [PATCH] Don't send notifications twice at daemon at startup --- service/src/battery.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/service/src/battery.cpp b/service/src/battery.cpp index 2bc2165..5db193b 100644 --- a/service/src/battery.cpp +++ b/service/src/battery.cpp @@ -92,10 +92,6 @@ Battery::Battery(Settings *newSettings, QTimer *newUpdater, QTimer *newNotifier, updateTimer->setInterval(5000); updateTimer->start(); - - if(settings->getNotificationsEnabled()) { - showNotification(); - } } Battery::~Battery() { }