From 9dc2528dfdb04f18641602cfd24c09cb9b119107 Mon Sep 17 00:00:00 2001 From: Arno Date: Mon, 8 Jul 2013 22:09:36 +0200 Subject: Make new archive work Well, this is a huge commit. Should be severals, but who knew... First and foremost feature: Make NewMovieWizard work with the experimental model. This change obsoleted a lot of code. Also, the old archive won't work with with the new Wizward... There are most probably many other features I forgot about. --- helper.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'helper.cpp') diff --git a/helper.cpp b/helper.cpp index ae5eb36..b73ea2a 100644 --- a/helper.cpp +++ b/helper.cpp @@ -287,4 +287,10 @@ namespace Helper { return mHours == 0 && mMinutes == 0 && mSeconds == 0; } + qint64 Duration::toSeconds() const { + qint64 retval; + retval = mHours * 60 * 60 + mMinutes * 60 + mSeconds; + return retval; + } + } -- cgit v1.2.3-70-g09d2