show unread counts on startup correctly if tray icon is not enabled

This commit is contained in:
Martin Rotter 2021-07-16 07:49:06 +02:00
parent 47448a05ef
commit 029930878e
2 changed files with 4 additions and 1 deletions

@ -1 +1 @@
Subproject commit 47f4125753452eff8800dbd6600c5a05540b15d9
Subproject commit 9c10723bfbaf6cb85107d6ee16e0324e9e487749

View File

@ -433,6 +433,9 @@ void Application::showTrayIcon() {
qDebugNN << LOGSEC_GUI << "Showing tray icon.";
trayIcon()->show();
}
else {
m_feedReader->feedsModel()->notifyWithCounts();
}
}
void Application::deleteTrayIcon() {