Skip to content

Commit

Permalink
[transfer-engine] Remove exclamation marks from notifications and rem…
Browse files Browse the repository at this point in the history
…ove sync error notifications. Fixes MER#1019
  • Loading branch information
Bea Lam committed May 20, 2015
1 parent 3f53013 commit e34c975
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/transferengine.cpp
Expand Up @@ -361,18 +361,17 @@ void TransferEnginePrivate::sendNotification(TransferEngineData::TransferType ty
switch (type) {
case TransferEngineData::Upload:
//: Notification for failed file upload
//% "Upload failed!"
body = qtTrId("transferengine-no-file-upload-failure");
//% "Upload failed"
body = qtTrId("transferengine-la-file_upload_failed");
break;
case TransferEngineData::Download:
//: Notification for failed file download
//% "Download failed!"
body = qtTrId("transferengine-no-file-download-failure");
//% "Download failed"
body = qtTrId("transferengine-la-file_download_failed");
break;
case TransferEngineData::Sync:
//: Notification for sync failure
//% "Sync failed!"
body = qtTrId("transferengine-no-sync-failure");
// no notification required
category.clear();
break;
default:
qWarning() << "TransferEnginePrivate::sendNotification: unknown state";
Expand Down

0 comments on commit e34c975

Please sign in to comment.