Zero PRS1 import duration fix

This commit is contained in:
Mark Watkins 2011-07-03 14:09:12 +10:00
parent f890e47271
commit 902ffea2b4

View File

@ -469,7 +469,7 @@ bool PRS1Loader::OpenSummary(Session *session,QString filename)
//qDebug() << "ID: " << session->session() << " " << duration;
//float hours=float(duration)/3600.0;
//session->set_hours(hours);
if (!duration) return false;
session->set_last(date+qint64(duration)*1000L);