mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 17:37:36 +03:00
Enable delete messages for progress display.
This commit is contained in:
parent
c49edeb09d
commit
6226a6ee8f
3 changed files with 4 additions and 2 deletions
|
@ -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");
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue