Skip to content

Commit

Permalink
[nemo-qml-plugin-calendar] Emit signal when syncFailure changes. Cont…
Browse files Browse the repository at this point in the history
…ributes to JB#52608

Emits the syncFailureChanged() signal when the sync failure status
changes, which allows the UI to update automatically to indicate the
failure status.
  • Loading branch information
llewelld committed Jan 25, 2021
1 parent 7d4d768 commit 6b6fd6d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/calendarmanager.cpp
Expand Up @@ -823,4 +823,7 @@ void CalendarManager::sendEventChangeSignals(const CalendarData::Event &newEvent

if (newEvent.ownerStatus != oldEvent.ownerStatus)
emit eventObject->ownerStatusChanged();

if (newEvent.syncFailure != oldEvent.syncFailure)
emit eventObject->syncFailureChanged();
}

0 comments on commit 6b6fd6d

Please sign in to comment.