Enable delete messages for progress display.

This commit is contained in:
Klaas Freitag 2013-08-06 15:23:29 +02:00
parent c49edeb09d
commit 6226a6ee8f
3 changed files with 4 additions and 2 deletions

View file

@ -557,6 +557,7 @@ void AccountSettings::slotSetProgress(const QString& folder, const Progress::Inf
break;
case Progress::EndDownload:
case Progress::EndUpload:
case Progress::EndDelete:
break;
case Progress::EndSync:
syncFileProgressString = tr("Completely");

View file

@ -580,7 +580,8 @@ void Application::slotUpdateProgress(const QString &folder, const Progress::Info
}
// If there was a change in the file list, redo the progress menu.
if( progress.kind == Progress::EndDownload || progress.kind == Progress::EndUpload ) {
if( progress.kind == Progress::EndDownload || progress.kind == Progress::EndUpload ||
progress.kind == Progress::EndDelete ) {
rebuildRecentMenus();
}

View file

@ -101,7 +101,7 @@ QString Progress::asActionString( Kind kind )
re = QObject::tr("finished");
break;
case StartDelete:
re = QObject::tr("start delete");
re = QObject::tr("delete");
break;
case EndDelete:
re = QObject::tr("deleted");