author | Sebastian Brannstrom <sebastianb@symbian.org> |
Tue, 16 Nov 2010 12:41:58 +0000 | |
branch | symbian1 |
changeset 371 | 5077ef63bce2 |
parent 366 | f015466e6642 |
child 372 | ad9eb3eed056 |
--- a/engine/src/ShowEngine.cpp Tue Nov 16 12:21:47 2010 +0000 +++ b/engine/src/ShowEngine.cpp Tue Nov 16 12:41:58 2010 +0000 @@ -1668,10 +1668,13 @@ break; } - TTime deleteDate; - deleteDate.HomeTime(); - deleteDate += daysAhead; - aShow->SetDeleteDate(deleteDate); + if (daysAhead.Int() > 0) + { + TTime deleteDate; + deleteDate.HomeTime(); + deleteDate += daysAhead; + aShow->SetDeleteDate(deleteDate); + } UpdateShowL(*aShow); DP("CShowEngine::PostPlayHandling END");