Some tweaks of notifications.

This commit is contained in:
Martin Rotter 2015-07-27 10:09:19 +02:00
parent 73ff85418e
commit 057ebc47d6
2 changed files with 2 additions and 3 deletions

View File

@ -210,7 +210,6 @@ void FeedsView::executeNextAutoUpdate() {
QList<Feed*> feeds_for_update = m_sourceModel->feedsForScheduledUpdate(m_globalAutoUpdateEnabled &&
m_globalAutoUpdateRemainingInterval == 0);
// No feeds are scheduled for update now, unlock the master lock.
qApp->feedUpdateLock()->unlock();
if (!feeds_for_update.isEmpty()) {
@ -219,7 +218,7 @@ void FeedsView::executeNextAutoUpdate() {
// NOTE: OSD/bubble informing about performing
// of scheduled update can be shown now.
qApp->showGuiMessage(tr("Startin auto-update of some feeds"),
qApp->showGuiMessage(tr("Starting auto-update of some feeds"),
tr("I will auto-update %n feed(s).", 0, feeds_for_update.size()),
QSystemTrayIcon::Information);
}

View File

@ -68,7 +68,7 @@ void Notification::notify(const QString &text, const QString &title, const QIcon
// Show it.
updateGeometries();
QTimer::singleShot(0, this, SLOT(show()));
QTimer::singleShot(20, this, SLOT(show()));
QTimer::singleShot(0, this, SLOT(repaint()));
m_timerId = startTimer(10000);