mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-25 13:38:44 +01:00
Supress warning when auto-update is delayed.
This commit is contained in:
parent
5a45fa9a21
commit
1ed4e02156
@ -144,11 +144,9 @@ void FeedsView::updateSelectedFeeds() {
|
||||
}
|
||||
|
||||
void FeedsView::executeNextAutoUpdate() {
|
||||
if (!SystemFactory::instance()->applicationCloseLock()->tryLock() &&
|
||||
SystemTrayIcon::isSystemTrayActivated()) {
|
||||
SystemTrayIcon::instance()->showMessage(tr("Cannot update scheduled items"),
|
||||
tr("You cannot update scheduled items because another feed update is ongoing."),
|
||||
QSystemTrayIcon::Warning);
|
||||
if (!SystemFactory::instance()->applicationCloseLock()->tryLock()) {
|
||||
qDebug("Delaying scheduled feed auto-updates for one minute "
|
||||
"due to another running update.");
|
||||
|
||||
// Cannot update, quit.
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user