Save "resume data" once file priority is changed

This commit is contained in:
Vladimir Golovnev (Glassez) 2021-03-29 11:26:44 +03:00 committed by Vladimir Golovnev (glassez)
parent 48d532777a
commit cd6959b712
No known key found for this signature in database
GPG key ID: 52A2C7DEE2DFA6F7
3 changed files with 30 additions and 0 deletions

View file

@ -4257,6 +4257,9 @@ void Session::handleAlert(const lt::alert *a)
{
switch (a->type())
{
#if (LIBTORRENT_VERSION_NUM >= 20003)
case lt::file_prio_alert::alert_type:
#endif
case lt::file_renamed_alert::alert_type:
case lt::file_completed_alert::alert_type:
case lt::torrent_finished_alert::alert_type: