MCPcopy Create free account
hub / github.com/Martchus/syncthingtray / concludeApplyingChanges

Method concludeApplyingChanges

syncthingmodel/syncthingfilemodel.cpp:999–1011  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

997}
998
999void SyncthingFileModel::concludeApplyingChanges(const QStringList &successfulDeletions, const QStringList &failedDeletions)
1000{
1001 for (const auto &file : successfulDeletions) {
1002 m_stagedLocalFileDeletions.remove(file);
1003 }
1004 if (failedDeletions.isEmpty()) {
1005 emit notification(QStringLiteral("info"), tr("Ignore patterns have been changed."));
1006 } else {
1007 emit notification(QStringLiteral("error"),
1008 tr("Ignore patterns have been changed but the following local files could not be deleted:\n") + failedDeletions.join(QChar('\n')));
1009 }
1010 emit hasStagedChangesChanged(hasStagedChanges());
1011}
1012
1013void SyncthingFileModel::setSelectionModeEnabled(bool selectionModeEnabled)
1014{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected