Commit e1efa031 authored by Pekka Vuorela's avatar Pekka Vuorela

Fix notification icon not getting set

Almost got there by earlier progress changes.
parent ad786e2d
......@@ -335,7 +335,7 @@ void TransferEnginePrivate::sendNotification(TransferEngineData::TransferType ty
bool useProgress = false;
Notification::Urgency urgency = Notification::Normal;
QString appIcon = QStringLiteral("icon-lock-information");
QString icon = QStringLiteral("x-nemo-icon=icon-lock-transfer");
QString icon = QStringLiteral("icon-lock-transfer");
// TODO: explicit grouping of transfer notifications is now removed, as grouping
// will now be performed by lipstick. We may need to reinstate group summary
......@@ -467,6 +467,10 @@ void TransferEnginePrivate::sendNotification(TransferEngineData::TransferType ty
if (!icon.isEmpty()) {
if (useProgress) {
notification.setHintValue(TRANSFER_PROGRESS_HINT, static_cast<double>(progress));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment