Supress warning when auto-update is delayed.
This commit is contained in:
parent
5a45fa9a21
commit
1ed4e02156
1 changed files with 3 additions and 5 deletions
|
@ -144,11 +144,9 @@ void FeedsView::updateSelectedFeeds() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void FeedsView::executeNextAutoUpdate() {
|
void FeedsView::executeNextAutoUpdate() {
|
||||||
if (!SystemFactory::instance()->applicationCloseLock()->tryLock() &&
|
if (!SystemFactory::instance()->applicationCloseLock()->tryLock()) {
|
||||||
SystemTrayIcon::isSystemTrayActivated()) {
|
qDebug("Delaying scheduled feed auto-updates for one minute "
|
||||||
SystemTrayIcon::instance()->showMessage(tr("Cannot update scheduled items"),
|
"due to another running update.");
|
||||||
tr("You cannot update scheduled items because another feed update is ongoing."),
|
|
||||||
QSystemTrayIcon::Warning);
|
|
||||||
|
|
||||||
// Cannot update, quit.
|
// Cannot update, quit.
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Reference in a new issue