Skip to content

Commit

Permalink
[transferengine] Use low urgency to hide notification popup. Contribu…
Browse files Browse the repository at this point in the history
…tes to JB#51797
  • Loading branch information
pvuorela committed Oct 30, 2020
1 parent 32f1029 commit 5635b36
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/transferengine.cpp
Expand Up @@ -171,7 +171,7 @@ TransferEnginePrivate::TransferEnginePrivate(TransferEngine *parent):
connect(m_accountManager, SIGNAL(accountRemoved(Accounts::AccountId)), this, SLOT(enabledPluginsCheck()));
connect(m_accountManager, SIGNAL(accountUpdated(Accounts::AccountId)), this, SLOT(enabledPluginsCheck()));

// Exit safely stuff if we recieve certain signal or there are no active transfers
// Exit safely stuff if we receive certain signal or there are no active transfers
Q_Q(TransferEngine);
connect(TransferEngineSignalHandler::instance(), SIGNAL(exitSafely()), this, SLOT(exitSafely()));
connect(q, SIGNAL(statusChanged(int,int)), this, SLOT(exitSafely()));
Expand Down Expand Up @@ -486,8 +486,7 @@ void TransferEnginePrivate::sendNotification(TransferEngineData::TransferType ty
}

if (!showPreview) {
notification.clearPreviewSummary();
notification.clearPreviewBody();
notification.setUrgency(Notification::Low);
}

if (useProgress) {
Expand Down

0 comments on commit 5635b36

Please sign in to comment.